Forums

[resolved] encoding after upgrading (5 posts)

  1. jland
    Member
    Posted 4 years ago #

    When I upgraded wp to 2.2, my Japanese text got scrambled.
    I went back and copy/pasted the original Japanese into the post... but the text is still showing up as ???
    I made new posts with Japanese text, and it's still ???

    What happened...? And how do I fix this?

  2. moshu
    Member
    Posted 4 years ago #

  3. jland
    Member
    Posted 4 years ago #

    I read over that, and I checked my wp-config.php.
    it says define('DB_CHARSET', 'utf8'); exactly like that documentation said.

  4. moshu
    Member
    Posted 4 years ago #

    The documentation says exactly NOT TO HAVE IF IT IS AN UPGRADE...
    There really must be a problem how they teach people to read! Quote:

    Warning for those performing upgrades: If DB_CHARSET and DB_COLLATE do not exist in your wp-config.php file, DO NOT add either definition to your wp-config.php file unless you read and understand Converting Database Character Sets. Adding DB_CHARSET and DB_COLLATE to the wp-config.php file, for an existing blog, can cause problems — as Ryan Boren says, "your queries will go boom!"

  5. jland
    Member
    Posted 4 years ago #

    oh haha
    I read the "do not add" and I figured I wasn't adding anything so I skipped over that.

    so are you saying I should delete

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

    that's in my wp-config.php?

    I want some confirmation in case my wp goes kaboom...

Topic Closed

This topic has been closed to new replies.

About this Topic