Support » Fixing WordPress » WP in language other than english – how to display

  • Hello,
    Please can you help me, how to use WP on a blog written in language with special characters? I’d like to use central european characters (charset iso-8859-2 or windows-1250). I tried to specify the charset in index.php and admin-header.php, but the national characters are not displayed correctly. I realized that those characters are somewhat transformed into codes like “ï”. Is that necessary? Which charset should I set to display them correctly?
    Thank you,
    Soso

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    you must change “charset” in all files, in which are. Not only in index.php and admin-header.php.
    Second: Check in coding of your MySQL.
    In Czech language (iso-8859-2) run WP corectly after this changes.
    Regards,
    Vladimir

    Anonymous

    I do not confirm – under ISO 8859-2 (Polish character set) – national characters are spoiled. IVHO not matter how is set character_set variable in SQL. 🙁

    kashirow

    (@kashirow)

    Don’t use another national charset when you can just use unicode, saves you time and trouble. For 1.01 this process works perfectly:
    1) Replace all instances of ‘iso-8859-1’ with ‘utf-8’ all across the source.
    2) Set the ‘use_htmltrans’ option to false.
    Character set of MySQL tables only matters when doing search, so the only thing you lose this way is that upper and lower case searches are not the same. But MySQL will store any kind of data thrown at it with no translation regardless of the character set.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP in language other than english – how to display’ is closed to new replies.