Support » Requests and Feedback » UTF-8 not working properly in 2.5

  • I just upgraded to WP 2.5 from the latest previous version and all Slovene characters in my posts are now strange letters even though I used the same UTF-8 setting before.

    I tried editing the last post with š č and ž and it still does not work. In the editor I see correct letters, but they do not show on the page. They are displayed differently than those from before however. You can see the difference between the last post with ? instead of š and č and all previous posts have characters like these: č

    What could be wrong? I have the same UTF-8 setting as before and I never had any problems with previous upgrades…


Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    This problem has to do with the way that some people’s databases are setup. Something to do with a character set mismatch.

    Try changing this line in your wp-config.php file:
    define('DB_CHARSET', 'utf8');

    To this:
    //define('DB_CHARSET', 'utf8');

    That just comments it out. That has fixed the issue for some people.


    Thanks! It solved the problem.

    Brilliant! Everything was dandy with my blog until I upgraded to 2.6 this evening, upon which my curaçaos and cafés, mères and gemütlichs grew garbled, UTF-8 notwithstanding. Commenting out the charset line in my wp-config straightened everything out nicely. An unexpected solution, to be sure, but whatever works.

    Thank you. Thank you so much. I’m still using 2.5.1 and I’ve been gnashing my teeth trying to get Khmer characters to save as khmer characters rather than a string of question marks. This seems to have done it. Love you Otto42!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘UTF-8 not working properly in 2.5’ is closed to new replies.