Support » Everything else WordPress » Encoding for Chinese characters

  • Hi all,

    I recently upgraded my WordPress software from 2.1 to 2.2. From time to time, I’ll type Chinese or Japanese characters in my blog entries. When I was using 2.1, there wasn’t any problem in reading the characters that I’d typed.

    However, after upgrading to 2.2, all my chinese characters became uncomprehensible symbols. New entries with chinese characters would mean that the chinese characters are all converted into question marks. I’d checked the encoding and found it to be UTF-8 so it shouldn’t be a problem.

    Please advice on how I can convert the symbols back into words and how I can continue blogging in other languages without encountering such problems. Thank you.

Viewing 14 replies - 1 through 14 (of 14 total)
  • I bet you did an automatic upgrade via fantastico…
    Even when doing it in that way – it is worth to read the upgrade instructions!

    Sorry man.

    I did my own upgrade. Followed the five steps instructions.

    There is no 5 steps for upgrade. That’s for install.
    You should still check your wp-config file… after reading the link I posted.

    ok thanks!



    Hi Moshu, I too want to type Chinese and Roman characters into my WordPress blog, but my blog is hosted by Blue Host so that I can have my own domain. I also set it up with Fantastico, but I DID install version 2.2.2 and STILL cannot type Japanese kana and Chinese characters. I read the documentation you listed to but there they warn against altering the files in question. Is there an easy, automated way to do this? I realize Blue Host is not WordPress, but WordPress proudly recommends Blue Host and does not show any caveats against its use.
    NOTE: Originally set up on WordPress, Chinese characters did display, but on Blue Host they don’t and they sent me back to WordPress. PLEASE HELP!!



    In that version the lines I suggested to be deleted in the config file are also there… Did you do that?



    I think the section from the link you provided has been deleted?



    The solution is the comment out (or delete) the following two lines from wp-config.php

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

    It worked for me! Japanese chars now display perfectly.



    it has been moved:

    But, actually, pjacobs already posted the solution.



    I just have to say thank you so much for this tip. I spent all night reading about .mo .po files and got my dashboard in Mandarin, but what I really wanted was the inputted characters to display correctly on my site.

    By deleting those 2 lines of code in the wp-config.php file, it saved me so much time.

    Thanks again for your help!


    i deleted the 2 lines from wp-config.php, instead of the chinese characters showing up, my posts now have this weird black diamond shape with a question mark inside at every “space”. see

    The chinese characters are still not showing. pls see the following link.

    Been frustrated with this for a long time, appreciate someone please help? tks!


    You would have to retype everything. It worked on mine but I had to retype it. Or maybe it doesn’t work for Chinese characters cause I only have Korean and Japanese characters on mine. But I doubt it.

    Yep, deleting those 2 lines worked. But this retyping business is terrible, especially if you didn’t type those yourself…

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Encoding for Chinese characters’ is closed to new replies.