Bugzilla – Bug 575715
unzip decrypts zip files from windows incorrectly
Last modified: 2010-03-18 13:45:54 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
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
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).
Marking as duplicate *** This bug has been marked as a duplicate of bug 540598 ***