John Oliver wrote:
I just had someone ask me why none of her files in Chinese, Japanese,
etc. no longer show up in the correct character sets. Everything is
UTF-8, and up until this morning, everything "worked right". She could,
for example, more a file with Chinese characters and see it correctly,
then more a file with Japanese characters and see it correctly. I would
have assumed that something would have to change the LANG variable for
that to work, but don't see how.
LANG could be the culprit. LOCALE could also be the culprit.
The terminal could also be the culprit. "more" just stuffs character
codes to stdout. It's up to the terminal to convert the codes into
glyphs/characters.
However, are you *sure* her files are UTF-8?
Take a look at the files in Firefox where you can set the character set
via a menu to make sure.
Quite often Chinese and Japanese files are not in UTF-8 (especially if
the originate from China or Japan).
-a
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list