Uncategorized

Displaying Japanese Correctly

Apache 2 for Redhat Linux:: Displaying Japanese correctly
Problem:
After upgrading kukai from RH 7.1 to RH 8, all Japanese websites hosted on kukai showed problems when displaying Japanese characters. In short, I got “moji-bake”.

Apache2 has new directives for languages and encodings. One of which is DefaultEncoding. This is set to iso-8155-1 as the default, for English and Latin characters. You'd think changing this to Shift-JIS or EUC_JP would fix the problem, but it won't and it didn't.

Answer:

What you do is turn it off completely, just comment out the line in the httpd.conf file.

This problem has been fixed in Apache 2.0.4

Leave a Reply