Forums

Unable to use Japanese w/ Wordpress (7 posts)

  1. ParaFish
    Member
    Posted 1 year ago #

    I am currently living in Japan and wanted to blog about my stay here for friends and family to see. I want to be able to type in Japanese as well in case the few Japanese friends I have care to check my blog. I tried writing a blog last night and everything I typed in Japanese came out normally. But, when I hit published and checked the blog it just displayed a bunch of ?????????????????. How can I publish Japanese on my blog? My computer is fully capable of reading/tying Japanese on the web. It just changes it to ??? when I trying and publish the material. Someone please help me!

    Thanks in advance!

  2. moshu
    Member
    Posted 1 year ago #

    An example link would be beneficial...
    Are you typing or copy/pasting? - it's not the same!
    Is this a new WP install or upgrade? What is your setting for encoding?

  3. ParaFish
    Member
    Posted 1 year ago #

    I've tried to both copy and type Japanese. Both of them look normal in the editor but when published it comes up as a bunch of ???. This is a fresh WP install. I installed it via cPanel and it should be the latest version. As far as encoding, I'm not sure. I never touched any kind of encoding options so I guess its default. Maybe I need to play around with encoding tonight but I don't even know where to find that option.

  4. moshu
    Member
    Posted 1 year ago #

    Don't play with encoding if you don't know what it is. You may make it worse...

    The default encoding of WordPress (utf-8) should be working for any language - unless you copy from a source that has different encoding.

    In the meantime try this:
    - download the wp-config.php file from the server (via FTP)
    - find these two lines in it (lines # 7 and 8):

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

    - delete them
    - upload the config file where it was (yes, overwrite the old one)
    - try to post in Japanese or any non-English characters

  5. ParaFish
    Member
    Posted 1 year ago #

    Okay I went and deleted those 2 lines like you said. It works and I am allowed to type in Japanese. Appreciate the help. I don't know why it worked but it did the trick. I don't guess I'll have to be doing that often, will I?

  6. spurry
    Member
    Posted 1 year ago #

    I had those 2 lines deleted, and 'adding' them just fixed it for me.
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', 'ujis_japanese_ci');

    I'm not sure whether to thank you for giving me the exact opposite answer to what I needed or what?;-)

  7. spurry
    Member
    Posted 1 year ago #

    However my categories have changed to '????' so not quite everything was fixed.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags