Jack-n-Jeannie header image
Jun 2008 02

WordPress Chinese Encoding Problem Fixed

by Jack · No Comments

Did you just upgrade your WordPress?  Did you just find out that everything you typed in Chinese turns into “???”?  Well I know I did.

Good news, there’s a easy fix, thanks to the WordPress Support Forum Here.  If you are too lazy to read it, all you need to do is to comment out/delete the 2 following lines in your wp-config.php file.

define(‘DB_CHARSET’, ‘utf8′);
define(‘DB_COLLATE’, ”);

Now the bad news, you need to retype everything that was turned into “???”…  Lame.

Sorry Mom, can you retype the comments again?
媽, 請再寫一次!

Update:

I ended up using a WordPress Plugin that converts your whole database to UTF8.  If you are interested, you can get it here.  The plugin was NOT tested with 2.5.1 though, and it gives you a big red warning sign that you might lose your Database data…  I did it anyway, then put the 2 lines back in the config.php, and everything seems to be ok now.  I did lose some posts that I had to retype, so your milages may vary.  Do it at your own risk.

Category: Blah
Tags:

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment