delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/03/13:11:52

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: LiuYan <lovetide AT msn DOT com>
Subject: Chinese file names are displayed as '??' when 'ls'
Date: Fri, 3 Feb 2006 15:46:18 +0000 (UTC)
Lines: 26
Message-ID: <loom.20060203T161834-112@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
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

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

LiuYan AT 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/

- Raw text -


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