WordPress.org

Ready to get started?Download WordPress

Forums

Encoding Problem Japanese Text (3 posts)

  1. bento
    Member
    Posted 7 years ago #

    Hello!

    I have a problem with the encoding of Japanese text in WordPress 2.1.
    I am building a bilingual (E/J) website.

    Whenever I input new Japanese content, the data is not saved correctly
    and only this stuff appears �衼��åѤǥ֥쥤�� or ???.

    My encoding settings in the header are - I suppose - correct:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    I noticed: at first everything looks fine, when I input Japanese text in the
    Wordpress backend, but when it gets saved some mis-encoding happens.
    Also when I press "Save and continue editing" the Japanese text get corrupted
    or mis-encoded and appears already corrupted in the backend.
    The scrumbled text seems to be encoded in "Japanese (EUC)" not UTF-8.

    When I go to the site and change the browser encoding to "Japanese (EUC)"
    the scrumbled Japanese text becomes normal and legible.

    Might this be some kind of database (MySQL) problem?
    Or some other issue with the website-host?
    My PHP version is - I think - 5.04 since it says:
    "AddHandler x-httpd-php504 .php" in my htaccess file.

    I develope locally with a MAMP application and everything works fine
    with the Japanese text.

    The site is here: http://bbs-net.com/html
    A corrupted entry can be found when switching to Japanese i.e.
    http://bbs-net.com/html/index.php/category/biography-japanese/

    I hope someone has a fix for this problem.
    Many thanks in advance! b

  2. phoogoo
    Member
    Posted 6 years ago #

    Hi. Do you mind if I ask how you fixed this? I notice it's working on your blog now. I am having the same issue. I have one English / Japanese blog and one English / Chinese.

    Any advice you have would be appreciated.

    Thanks!

  3. onitzuka
    Member
    Posted 6 years ago #

    phoogoo, I see that you solved the Japanese/English problem in WordPress... I am having the same problem, too..... how did you get it to work for you?

Topic Closed

This topic has been closed to new replies.

About this Topic