Bug 575715 - unzip decrypts zip files from windows incorrectly
Summary: unzip decrypts zip files from windows incorrectly
Status: RESOLVED DUPLICATE of bug 540598
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: Other Other
: P3 - Medium : Major (vote)
Target Milestone: ---
Assignee: Philipp Thomas
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-01 14:19 UTC by Michal Svec
Modified: 2010-03-18 13:45 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
example zip file (171 bytes, application/zip)
2010-02-01 14:19 UTC, Michal Svec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Svec 2010-02-01 14:19:38 UTC
Created attachment 339943 [details]
example zip file

ZIP files created under windows have broken encoding resulting in
the decrypted files being impossible to open at all if they contain
non-ascii characters (see the attached example zip file).

Last release (April 2009) of unzip 6.0 contains quite some fixes
regarding this, but I can't still get it to work.

Just for reference, updated versions of unzip and zip 3.0:
https://build.opensuse.org/project/show?project=home:msvec:branches:Archiving
Comment 1 Kyrill Detinov 2010-03-14 20:33:05 UTC
Please test patched unzip from home:Lazy_Kent repository. You also need to install librcd0, librcc0 and rcc-runtime.

It works for me:

23:27 kent@lazy ~/download % unzip -l test.zip                                    
Archive:  test.zip
  Length     Date   Time    Name
 --------    ----   ----    ----
       17  03-10-10 22:09   проверка текста.txt
 --------                   -------
       17                   1 file
23:28 kent@lazy ~/download % LANG=cs_CZ.utf8
23:28 kent@lazy ~/download % unzip -l attachment.zip 
Archive:  attachment.zip
  Length     Date   Time    Name
 --------    ----   ----    ----
       22  01-21-10 00:16   příliš žluťoučký kůň.mně
 --------                   -------
       22                   1 file
Comment 2 Michal Svec 2010-03-15 10:32:39 UTC
Looks much better! The only thing I spotted which did not unzip properly
was 'Ů' in the file name (will try to create a testing file for that too).
Comment 3 Philipp Thomas 2010-03-18 13:45:54 UTC
Marking as duplicate

*** This bug has been marked as a duplicate of bug 540598 ***