This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: zip, unzip and non-ASCII symbols in filenames


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]