Encoding Problem Japanese Text
-
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” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml”><head profile=”https://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: https://bbs-net.com/html
A corrupted entry can be found when switching to Japanese i.e.
https://bbs-net.com/html/index.php/category/biography-japanese/I hope someone has a fix for this problem.
Many thanks in advance! b
- The topic ‘Encoding Problem Japanese Text’ is closed to new replies.