libzip: libzip-discuss: Re: non-english filenames in archive

Thread

Thread Index

Message

From: Dieter Baron <dillo%danbala.tuwien.ac.at@localhost>
To: אסף <asaf%lingnu.com@localhost>
Subject: Re: non-english filenames in archive
Date: Thu, 17 Feb 2011 16:29:13 +0100

On Feb 17, 2011, at 16:26, אסף wrote:
> On יום חמישי, פברואר 17, 2011 05:01:17 PM you wrote:
>> On Thu, Feb 17, 2011 at 04:53:54PM +0200, אסף wrote:
>>> some more details:
>>> 
>>> when using zip_stat_index, and printf'ing the filename, the file name
>>> is printed correctly (both for files created using libzip, or using the
>>> 'zip' binary)
>>> 
>>> the problem occures only when extracting using 'unzip' or other archive
>>> utils (winrar,  winzip) on files created using libzip.
>> 
>> libzip just stores the filename given by the application in the file.
>> There is no conversion involved, nor are any UTF-8 markers or similar
>> set.
>> Thomas
> 
> I'm not femiliar with the zip format, but apparently something needs to be 
> done to preserve the filenames such that other uzipping software will know 
> how 
> to handle it.
> (as I said, when zipping with 'zip' command, filenames are unzipped correctly)

Could you please send us a zip archive created with zip and one created with 
libzip?  I'll try to figure out what's different.

yours,
dillo

Made by MHonArc.