Re:Japanese text not displaying correctly.

Michael Grant <[email protected]>
Newsgroups gmane.comp.php.internationalization
Message-ID <[email protected]>
I think the first respondant, Mr. Imbeault, is right:  The characters were garbled in my
email too.

I took the HTML portion of your code and opened it in my browser: the text was garbled.  

I checked my browser's encoding and it was still set to Shift-JIS(I'm in Japan): 
it didn't switch to UTF-8 in accordance with your meta tag.  But when I manually switched the
browser, the text displayed almost perfectly: the characters were a bit messed up(I'm getting: 
[  ] which converts to [  ] in Shift-JIS instead of [  ] like is should be).

In any case, it was only after re-saving the file manually with UTF-8 encoding(the 'Dana Text 
Editor' makes this easy, http://www.rimarts.co.jp/dana.htm), that my browser was made to switch
to UTF-8 upon opening the file, see: http://saba.mitsue.co.jp/~m-grant/UTF8.html. Does the last 
line display correctly for you?

Also, what editor did you use to edit/save these files? If this is a
persistent problem, then maybe there's an option that's not set(either
in your PHP.ini or your editor) or something of the sort.  Otherwise you
may want to re-evaluate your workflow and see if there's something you're
missing.

Finally, I noticed that you're posting through the Boeing proxy server (St.Louis?),
I used to work for Boeing at the "CSRC" in Bellevue, WA, GREAT people!

"Go Big B!"
-- 
Michael Grant <[email protected]>


-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.