Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: whoisterence on January 18, 2011, 07:01:02 AM
-
I am able to read Chinese in Firefox, so I should have fonts setup properly.
I have tried the rxvt-unicode terminal extension, but even if I use rxvtc -fn xft:MingLiU, the chinese filenames on my network (mounted using cifs) or local (mounted using ntfs-3g) still show up as ??? question marks?
I tried mount.cifs with iocharset=unicode option.
-
Hi.
I'm Japanese. So I don't know Chinese environment.
I think that you need to build kernel modules for supports native language.
-
CONFIG_NLS_UTF8=y
Unicode is supported.
-
Syun, can you get Japanese filenames?
New things I tried.
-recompiled urxvt with ./configure --enable-everything --enable-xft
I think the current urxvt extension didn't include many encodings.
-set the locale LANG=zh_TW.utf8
-run using urxvt -fn "xft:MingLiu"
I created a utf8 encoded text file and now I can see the Chinese characters in the file, but when I do "ls" still showing question marks.
Also, when I do an "ls" I get the following messages:
ls: ./???????.doc: No such file or directory
Seems to me "ls" is not UTF8 ready? Maybe it's the way busybox was compiled?
-
I used "echo *" instead of "ls" and I can see the Chinese filenames, this is narrowing the problem down to busybox ls.
-
I used "echo *" instead of "ls" and I can see the Chinese filenames, this is narrowing the problem down to busybox ls.
GNU ls is in coreutils.tcz ;)
-
Yup that did the trick.
In summary to be able to list Chinese filenames
-have a Chinese font installed
-mount your cifs/ntfs-3g drives
-use the urxvt-daemon extension is OK. No need to recompile urxvt
-need the coreutils extension, because busybox ls does not show UTF8
-set the LANG=en_US.utf8
-run urxvtd
-run urxvtc -fn "xft:mingliu"
-ls and you should see Chinese filenames