Can I display Chinese character filenemes in an

Arne Goetje arne at goetje-online.de
Sun Oct 3 04:49:53 BST 2004


-----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
> > doesn't.
>
> 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:
> "/etc/profile.d/lang.sh".

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.

Cheers
Arne
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBX3bobp/QbmhdHowRAmUvAJ98qmLXSFIMHNoU4bxdK9Wlnw74OgCcCy+J
2H2PejVPS9yFRrYXlgIZEyw=
=PZD9
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list