UTF-8 not working properly in 2.5 (5 posts)

  1. Ojster
    Posted 8 years ago #

    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...


  2. 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.

  3. Ojster
    Posted 8 years ago #


    Thanks! It solved the problem.

  4. slakethirst
    Posted 8 years ago #

    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.

  5. Tom Aarons
    Posted 8 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic