X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: Chinese file names are displayed as '??' when 'ls' Date: Sun, 5 Feb 2006 17:36:47 +0000 Lines: 21 Message-ID: <4gh50ng92xxo.hzrkmac211th.dlg@40tude.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit User-Agent: 40tude_Dialog/2.0.15.1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam * 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 AT tidestudio /cygdrive/d/Temp/ChineseTest > $ ls ./ > 汉字/ 新建 文本文档.txt > 新建 文本文档 (2).txt 新建文件夹 (2)/ > > LiuYan AT tidestudio /cygdrive/d/Temp/ChineseTest > $ ls ./ > ????/ ???? ???????? (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/