This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: zip, unzip and non-ASCII symbols in filenames
- To: Roman Belenov <rbelenov at yandex dot ru>
- Subject: Re: zip, unzip and non-ASCII symbols in filenames
- From: egor duda <deo at logos-m dot ru>
- Date: Mon, 17 Sep 2001 12:40:34 +0400
- CC: cygwin at cygwin dot com
- Organization: deo
- References: <ubskanshy.fsf@yandex.ru>
- Reply-To: egor duda <cygwin at cygwin dot com>
Hi!
Monday, 17 September, 2001 Roman Belenov rbelenov@yandex.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@logos-m.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/