Posted by Miki on December 31st, 2008 in Blogging

If you’ve recently upgraded your wordpress blog system and have since found funny, foreign looking characters in your posts, you are not alone.

Apparently when you upgrade sometimes your WP-Config.php gets overwritten with a new file which contains a few lines of code that can mess up your text and database character formatting and display.

In my case, after going from wordpress 2.5 to 2.7 on one system I was left with some strange characters in my posts. After some searching I came across this helpful WordPress thread and once I had changed define(‘DB_CHARSET’, ‘utf8′) to define(‘DB_CHARSET’, ‘utf-8′), all was well again with my blog.

There are some other ways to fix the problem, so check out the thread as the simple solution above may not work for you.


10 Comments
  1. 1. Mark Zanzig on 23 Jan 2009 at 12:05 pm

    Miki – you’re my hero. I had exactly the problem that you described after upgrading to 2.7, and I had to re-create WP-Config from an older backup. That backup contained ‘utf8′ as value for DB_CHARSET, which I now know to be wrong. Your quick fix fixed that problem! Many thanks.

  2. 2. D on 28 Jan 2009 at 12:21 am

    thank you and thank Google for bringing me to you…I upgraded to WP 2.7 and found bad characters throughout our blog. then searched Google for “wordpress 2.7 characters”, found your site. added a “-” to the UTF parameter and everything was fixed. Love it.

  3. 3. Esther on 20 Feb 2009 at 3:15 pm

    Thank you! This post just saved me hours of hassle!

  4. 4. Ariel on 09 Apr 2009 at 3:04 pm

    This saved my day :) thanks!

  5. 5. Andy on 21 Jun 2009 at 4:24 pm

    Thank you, Miki. Probably saved me hours. :-)

  6. 6. Alan Parekh on 15 Jul 2009 at 6:40 pm

    Thanks. This fix also worked for me…

  7. 7. Bobby on 11 Jun 2010 at 7:30 pm

    very cool post!!!

  8. 8. Text Marketing For Restaurants on 25 Mar 2011 at 7:38 am

    Thank you! I had the same problem and was about to go plugin-by-plugin to attempt to fix this.

    You saved me countless hours!

    Thanks again!

  9. 9. Don Laraway on 16 Jul 2011 at 5:27 pm

    I’ve just recently began a blog, the information you present on this blog has helpful to me tremendously. Thank you for all your time & work.

  10. 10. jiifmqzfsq on 09 Apr 2013 at 11:58 pm

    cout pour [url=http://viagraprixenligne.com#4278]acheter viagra [/url] sans prescrire [url=http://viagrasildenafilprix.com#867]viagra prix[/url] cout pour Viagra nom generique pour [url=http://viagrageneriqueprix.com#8,697E]viagra[/url] cout Filed Under: Toilettage bien peut être une HelpWhile BIG-ci sont plus «illusion» des gains en fonction, la vérité est, de bonnes habitudes de toilettage peut aller un long chemin (no pun intended) en vous donnant l’apparence de la taille [url=http://levitra-generique.eu#344]levitra[/url] Acheter en ligne

Post Your Thoughts

Name (required)

Mail (will not be published) (required)

Website

Copyright © 2004-2012 First Serve Media, LLC. All rights reserved.