delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/17/04:42:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 17 Sep 2001 12:40:34 +0400
From: egor duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.53 RC/4)
Reply-To: egor duda <cygwin AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <115134112733.20010917124034@logos-m.ru>
To: Roman Belenov <rbelenov AT yandex DOT ru>
CC: cygwin AT cygwin DOT com
Subject: Re: zip, unzip and non-ASCII symbols in filenames
In-Reply-To: <ubskanshy.fsf@yandex.ru>
References: <ubskanshy DOT fsf AT yandex DOT ru>
MIME-Version: 1.0

Hi!

Monday, 17 September, 2001 Roman Belenov rbelenov AT yandex DOT ru wrote:

RB> It seems that cygwin and non-cygwin versions of Infozip utilities have
RB> different handling of non-ASCII characters in filenames. I tried
RB> compressing files with Cyrillic characters in names; both cygwin
RB> version and the Win32 binaries from ftp.info-zip.org correctly
RB> unzipped files created with corresponding zip utility, but unzipping
RB> files created with other's zip resulted in weird transformations of
RB> filenames (it seems to be connected with different host system fields
RB> in ZIP files and upper/lowercase convertion).

RB> Does anybody knows soultions or workaround for this problem (e.g. how
RB> to correctly unzip files created with "standard" Win32 version of
RB> Infozip using cygwin) ?

try to
set CYGWIN=%CYGWIN% codepage:ansi

this should make cygwin's zip/unzip handle non-ascii characters in the
same way as native infozip's zip/unzip do.

or you should build native versions with added 'SetFileApisToOEM ()'
call at startup.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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