Can I display Chinese character filenemes in an
James Richard Tyrer
tyrerj at acm.org
Mon Oct 4 03:56:09 BST 2004
Arne Goetje wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On Sunday 03 October 2004 11:06, James Richard Tyrer wrote:
>>>which contains a text file with the filename in Chinese. Afain, in
>>>my partner's account, Ark displays this correctly, but in mine it
>>To display UTF8 (8 bit UniCode) file names, you have to set
>>environment variables. If you have LC_ALL=C (use default language
>>for all LC_*) then you need to set: LANG="en_us.utf8".
>>This would normally be set (on Linux) in the script:
> This is not UTF-8, but GB2312 encoding. It wold be better if your
> partner switches to a zh_CN.UTF-8 locale and uses this as default. Then
> the filenames would be in UTF-8 instead of GB2312 and you can display
> them on your english system if you use en_US.UTF-8 as locale.
> I don't know which input method she uses, but chinput also works under
> UTF-8 locale.
> for converting a bunch of filenames from GB2312 into UTF-8, take a look
> at the 'convmv' package in debian.
Obviously, what I said is not Chinese specific. It applies to any and all UTF-8
encoded file names. ISO-8859-1 is a subset of UTF-8 so Latin characters will
display just the same.
And AFAIK, using UTF-8 is the only way to have file names of more than one
language at a time.
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
More info: http://www.kde.org/faq.html.
More information about the kde