delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/12/11:00:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Lenik <lenik AT bodz DOT net>
Subject: zip, unzip doesn't support locale settings
Date: Tue, 12 May 2009 22:58:00 +0800
Lines: 21
Message-ID: <guc2pq$5n2$2@ger.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

(This mail is encoded in utf-8)

bash-3.2$ ls
????????.zip  ????????  ????.gz
bash-3.2$ echo $LANG

bash-3.2$ export LANG=zh_CN.GBK
bash-3.2$ zip a *
         zip warning: name not matched: 好.gz
         zip warning: name not matched: 你好

zip error: Nothing to do! (a.zip)
bash-3.2$ unzip 世界.zip
unzip:  cannot find or open 世界.zip, 世界.zip.zip or 世界.zip.ZIP.


FYI
ä½  = \u4f60
好 = \u597d
世 = \u4e16
界 = \u754c


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