Chinese file names are displayed as '??' when 'ls'

LiuYan lovetide@msn.com
Fri Feb 3 18:11:00 GMT 2006


Hi all:

When I using 'ls' to list the files in a directory, the chinese file names are 
becomes '??'.

But, when I press TAB after I typed 'ls', the Chinese file names are displayed 
correctly. 

Sample outputs:
-------------------------------------------------------------------------
LiuYan@tidestudio /cygdrive/d/Temp/ChineseTest
$ ls ./ <TAB>
汉字/                  新建 文本文档.txt
新建 文本文档 (2).txt  新建文件夹 (2)/

LiuYan@tidestudio /cygdrive/d/Temp/ChineseTest
$ ls ./ <ENTER>
????/  ???? ???????? (2).txt*  ???? ????????.txt*  ?????????? (2)/

LiuYan@tidestudio /cygdrive/d/Temp/ChineseTest
$
-------------------------------------------------------------------------

So, it's the issue of 'ls' or cygwin core ?

Thanks !


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list