ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Meta tags Encoding issue

July 21, 2010 11:03pm

Subscribe [1]
  • #1 / Jul 21, 2010 11:03pm

    Aaron Harkenin

    90 posts

    Ill just go ahead and quote my writing

    Hello everybody. Ive read Lisas article and wanted to ask few questions.

    Up till now I was using hardcoded meta tag in an embed template. Now ive used the Meta tags metod and though everything works the way it should, i have problem visually confirming it.

    Because, the current site im working on is a utf-8 encoded Turkish site. And though i have no problem with weblogs in the body tags, displaying as they should be, the one thats rendered in head tags seem not to be encoded with utf8. So the same content that seems ok in the body field seems gibberish in the head part. And this was not the case when the meta info were hardcoded in to the template.
    As an example

    <meta name='description' content='öğçşı' />

    becomes

    <meta name='description' content='ö ğ ç ş ı ' />

    I have to underline that; though visualy its displeasing, google seems to recognize the written info no matter if its gibberish or not. However I would apriciate any solutions ont the matter


    Edit:

    Alright , Ive just realized that even on the body the outcome is as seen above. Unless i open and write the letters on ftp or dreamweaver (that are set to utf-8 encoding) and save them, they appear like that.

    So just to clearify. On Ee cpanel, Templates option. I can write the letters above and they wont turn to giberish. when viewed on the source as well as browser. Same is the case when i edit templates through Dreamweaver / Ftp Clients. Again both on browser and source - they seem ok.

    Only when Ee weblog renders them, they turn in to giberish (as mentioned above) on source page. But again they render normaly on browser window.

    So yea, its not meta tags but they way EE weblog handles these characters.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases