Forums

Help!!! I can't get Chinese Characters to display in post titles!!1 (1 post)

  1. mr_muskie
    Member
    Posted 1 year ago #

    Hey there, I'm and extreme WP newbie and I'm having some trouble with character encoding. I am using the Blackon theme, and I can't get Chinese characters to display in my post titles. At first they just appeared as "?????". But I found a solution: delete these two lines from my wp-config file:

    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    So I did that, and the characters appeared on my dashboard and when I type the post up no problem. No more "?????". But when displayed on the web site, the Chinese char. only show up in the body of the text, not the title. Living in China, I'd really like to be able to post Chinese characters.

    Also after deleting those two lines of code, it created another problem where all my commas and things turned into diamonds with question marks inside them. I found a solution to that here as well, which was to change char. encoding on firefox to ISO 8859-1. I did that, looks good, except I doubt everyone who views my site is going to know to do that, and will just think its an error on my site.

    Anyways, now everything is good EXCEPT the titles will not display Chinese. In fact, when I load the page after updating the post, the title appears correctly, in Chinese, correct font, color, etc., for about 1.5 seconds, then it disappears and I'm left with a big blank title.

    I'm at my end on this one, anyone got any solutions? I'm using the latest version of WP.

Topic Closed

This topic has been closed to new replies.

About this Topic