#1351 7Zip bug in 9.20 and later - OK with PeaZip 4.8.1

open
nobody
None
5
2013-06-29
2013-02-21
phil
No

Hi,

As I wanted to Zip archive a large folder, I noticed problems with about thousand of files
(MD5 compared source against Zip -> Unzip).
This bug does not happen with PeaZip 4.8.1

BUG:
Wrong encoding of file's name
Tested as .zip archive, have NOT tested other archive types
Original encoding: I think ASCII from a FAT32 partition.

If you could release a Windows 64bits portable version (http://portableapps.com/apps/utilities/7-zip_portable), would be nice.

Seeing the changelog I don't understand if all the "small bug fixes" after 9.20 are related to 9.20 branch, but occasion to merge branches.

Regards,

Phil.

Reproducable process:
Zip this attached file (default settings):
évolution d’une relation à travers la correspondance V.1_2Max_Martin_8a_.doc
MD5: 9fffbad7a8b69de244bfff65e8dc47b1

All 7-zip version 920, 922, 925 & 930 have a MD5 hash of
ade8430107ba7336dcbd2cf8965ebedf
file's name is now:
+®volution dÔÇÖune relation +á travers la correspondance V.1_2Max_Martin_8a_

1 Attachments

Discussion

  • phil

    phil - 2013-02-21

    Puzzled.
    When I just Zip this test file, then 7-Zip produces a wrong one, while PeaZip not.

    But when I archive a 3Gb folder, both PeaZip481 & 7-Zip9.20 have same MD5 hash, so that this file is wrongly encoded.
    How comes?
    Directory structure?

     
  • phil

    phil - 2013-02-21

    OK With PeaZip the zip file name is correct, but the encoded one is wrong.

    So both PeaZip & 7Zip do have the bug.

    With file name's in russian (Cyrilics alphabet) it's even worst, there it appears as if one encountering a file in russian alphabet the directory is duplicate...probable some wrong thrown error management.

    Probably some Unicode, UTF8, ASCII or endianess casting issue

     
    Last edit: phil 2013-02-21
  • Shell

    Shell - 2013-06-29

    Maybe something is wrong with your filesystem or codepage settings. I have 32-bit Russian Vista with a FAT32 drive, and 7-Zip 9.20 (32-bit) works fine with your file.

    By the way, what command did you use? Mine was 7z a test.7z *.doc

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks