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

Thorsten Kampe thorsten@thorstenkampe.de
Sun Feb 5 18:17:00 GMT 2006


* LiuYan (2006-02-03 15:46 +0100)
> 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)/

Try ls  --show-control-chars


--
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