Issue with Russian language |
[eluser]Unknown[/eluser]
Hi Everyone, I have an issue with russian language. I need to create a russian site, but it seems the Cyrillic charset is not working for me. I have set the charset to UTF-8 and the language to russian, but when I check the site, I get only ????? characters against the cyrillic characters. The files are in UTF-8 without BOM format. I read lots of forums, wiki etc. how to solve this issue, but nothing helps. Have anyone idea how could I solve this issue? Thanks for your help! Regards, Sparrow
[eluser]tomcode[/eluser]
Have You set the text encoding in Your HTML markup to UTF-8 ? XHTML Code: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> html5 Code: <meta charset="utf-8">
[eluser]Unknown[/eluser]
Yes, the text encoding is set on HTML view file. Did I set it on the right place?
[eluser]tomcode[/eluser]
The tag must be in the head part of Your HTML markup: Code: <!DOCTYPE html> Check Your page in W3C Validator You can also verify whether Your browser uses utf-8 to render the page, have a look for a menu item 'Text Encoding' or 'Character Encoding'
[eluser]InsiteFX[/eluser]
It is also recommended that you also include the old meta tag for a fallback when using HTML 5! Code: <!DOCTYPE html> InsiteFX
[eluser]a/\ekc[/eluser]
My wiki In your header place this code: Code: <?php header('Content-type: text/html; charset=utf-8') ?> in my case it's really helps
[eluser]InsiteFX[/eluser]
Or .htaccess Code: <ifModule mod_php5.c> InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |