01-24-2006, 06:37 PM | #2 (permalink) |
Crazy
Location: Salt Town, UT
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
In the <head> section of your HTML output should get you there. There are also a bunch of functions in PHP that will output the correct stuff for date and number formatting, the key is to putenv('LC='.$their_locale); Unfortunately, $their_locale is different on different OS's/distributions, so you'll have to figure it out on your own, but that should be a good start for you. |
01-24-2006, 07:54 PM | #3 (permalink) |
Crazy
|
I got it to work... in Firefox.
In IE It displays them as ASCII characters. If I use VIEW SOURCE on the IE page, it shows them as Japanese characters.... www.tinkerslab.com/japanese.php |
01-24-2006, 08:29 PM | #4 (permalink) |
Crazy
Location: Salt Town, UT
|
Ahh. IE, the web developers nightmare.
Okay, try this instead, put it before you output ANY content. header('Content-Type:','text/html; charset=UTF-8'); That should tell IE earlier on that you are going to feed it UTF-8, and that it should be expecting that. |
Tags |
characters, japanese, php |
|
|