This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]