• Hi all,

    I am running a blog at telexism.com and have problems with unicode characters. For example, in this post:

    https://telexism.com/?p=19

    The title is fine however the body of the post does not show unicode properly. And the funny thing is in the editing mode, everything is ok.

    I don’t have a clue what is going on ?? Anyone has an idea what might went wrong?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Ouch! I’m only guessing. Your wp-config.php and Mysql have different ideas on what the character set should or can be. Title’s and slugs are treated differently, which is diffently than post and we’ll not mention comments.

    Some searching in the Codex will get you to the place to set them.

    Thread Starter traanf

    (@traanf)

    The funny thing is when in edit mode, it looks just fine like this:

    [URL=https://imageshack.us][IMG]https://img53.imageshack.us/img53/4225/wordpresstr4.png[/IMG][/URL]
    Shot at 2007-07-17

    <img src=”https://img53.imageshack.us/img53/4225/wordpresstr4.th.png&#8221; border=”0″ alt=”Free Image Hosting at https://www.ImageShack.us&#8221; />

    Thread Starter traanf

    (@traanf)

    Sorry, the picture of the post in editing mode again:

    https://img53.imageshack.us/img53/4225/wordpresstr4.png

    I really don’t know why only when I publish the post, the font got corrupted.

    Any upgrade lately? Especially, automatic upgrade?

    Even if not, read this, maybe it helps:
    https://codex.www.ads-software.com/Upgrading_WordPress#Special_note_for_Fantastico_Upgrades

    Thread Starter traanf

    (@traanf)

    No, this is a fresh installation 2.2. However, when first installed it, it could not show unicode at all. Somehow, the database is not set to unicode even though the char set in config file is utf8. I saw many people having the same problems in the forum but no solutions for that yet.

    After that I installed UTF-8 Database Converter plugin, then it can show unicode but only in editing mode as now.

    That’s what I am asking… What happens if you DELETE the lines from the wp-config that define the charset and collation?

    Thread Starter traanf

    (@traanf)

    Ok, I did a small test as you suggested.
    What happened was:

    * If these two lines are in the config file:
    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);

    then everything is corrupted both in editing mode and public mode.

    * If I comment the two lines:
    //define(‘DB_CHARSET’, ‘utf8’);
    //define(‘DB_COLLATE’, ”);

    then the editing mode is OK but the public mode is corrupted as explained above ??

    Oh, now I see you already messed with the DB, using the converter plugin. If even the plugin didn’t help… then I really am clueless.
    If the server has the requirements – a new installation should work. Most problems are with the upgrades.

    yes .. i got a same problem as about. It’s allright in edit mode. But when i submit .. it’s all change to “square and ???”. Is this because of my hosting?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Unicode display problem’ is closed to new replies.