delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/05/12:37:28

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
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: <loom DOT 20060203T161834-112 AT post DOT gmane DOT org>
Mime-Version: 1.0
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: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 ./ <TAB>
> 汉字/                  新建 文本文档.txt
> 新建 文本文档 (2).txt  新建文件夹 (2)/
> 
> LiuYan AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019