delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/04/21:13:56

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:subject:to
:mime-version:content-type; q=dns; s=default; b=lG20cgXYAJPb3MFg
40puWhAxTnukwY9aBgErdIs+cFbEuvHjPnA9XDUci4f/YlRI3UgHh3zsvUarX+vE
irTnpxV/xH2WSfAA2Gt1ZetNN4UwPVd3TMDdIBiEZllg778OPGXl5qryV1Fm6Qku
2gwzGtsoUoVHYCuSv+VqCwAqeEI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:subject:to
:mime-version:content-type; s=default; bh=FZP7wHkcjDTbeMGA3URfw6
1l8zs=; b=PD6KvQkWwyCiHjhFy+rLVmjNqpidr0yQrfjsSgOYGDJRQLJ1RNJxmj
BYRo0Br7I30RFNfOfRqFUuBXQh/EUv2+K0F9QSGI0CuxZ0jwr6geawYaKg6a2Kxz
XwzFI85d16ShC8EmaXOQ0Oydraabq3ZLy9AK3Dqo1YNFCb7eYfMqA=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.9 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: nm32-vm7.bullet.mail.ne1.yahoo.com
Message-ID: <1415153294.16094.YahooMailNeo@web122105.mail.ne1.yahoo.com>
Date: Tue, 4 Nov 2014 18:08:14 -0800
From: Brent <yhbrent AT yahoo DOT com>
Reply-To: Brent <yhbrent AT yahoo DOT com>
Subject: Re: bug/deficiency in unzip: incompatible with other programs when entry path names have non-ascii chars
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
MIME-Version: 1.0

(Note subject edit to be more accurate)


>On 2014-11-04 12:17, Yaakov wrote:
>

>>On 2014-11-03 21:14, Brent wrote:
>>
>>Any thoughts on the bug that I found with cygwin unzip regarding its unicode handling?
>>In particular, cygwin unzip seems to work with cygwin zip, but cannot extract archives produced by multiple other mainstream zip programs.
>>My last email detailing this is
>>    https://cygwin.com/ml/cygwin/2014-11/msg00023.html
>
>Have you tried this again with 6.0-11 too? Unless I'm doing something wrong, I can't reproduce your error with it.

For sure: after I updated cygwin the other day to test the large file fix, I picked up unzip version 6.0-11.  So it is what I am now using via cygwin.


I then reran my complete test suite.  Everything now works except the part of the test where cygwin unzip is to extract a zip file produced by Java.  This particular zip file has entries whose path names are non-ASCII chars.  I have manually verified that this zip file is perfectly extractable by 7zip and WinZip, so Java does not seem to be the problem.


I would gladly attach the zip file to this email, but this mailing list does not seem to like attachments.

So, I am trying a free file upload service.  My archive, test.zip, should be downloadable from here:
    http://s000.tinyupload.com/index.php?file_id=35559436477780253693

Read the File description in the URL above too.

I am looking forward to what you find.




>On 2014-11-05 03:51, Andrey wrote:
>
>Can this be related to locale settings?
>I didn't see Brent mentioning his locale settings, though.

I have never done any configuration after installing cygwin.  In particular, I have never mucked with any locale settings.  So whatever the default install gives is what I have.  (Unless cygwin draws on what my Windows locale settings are?)

I had to look up what locale settings cygwin even offers.  This seems to be a good link:
    https://cygwin.com/cygwin-ug-net/setup-locale.html

One claim in that link is that cygwin only cares about these 3 env vars: LC_ALL, LC_CTYPE, and LANG.  Here is what they are on my system:
    $ echo "LC_ALL = $LC_ALL"
    LC_ALL =

    $ echo "LC_CTYPE = $LC_CTYPE"
    LC_CTYPE =

    $ echo "LANG = $LANG"
    LANG = en_US.UTF-8

Andrey, is this what you are looking for, or do you need something else?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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