Menu

#2473 Filenames are disturbed while trying to list or decompress archive

open
nobody
None
5
2024-06-07
2024-05-18
unxed
No

File and folder names are disturbed while trying to list archive contents or decompress it.

~/test_folder$ 7zz l ./Desktop.zip

7-Zip (z) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
 64-bit locale=ru_RU.UTF-8 Threads:4

Scanning the drive for archives:
1 file, 330 bytes (1 KiB)

Listing archive: ./Desktop.zip

--
Path = ./Desktop.zip
Type = zip
Physical Size = 330

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2016-09-28 17:41:00 D....            0            0   
2016-09-28 17:40:41 ....A            4            4   ⥪⮢ 㬥.txt
------------------- ----- ------------ ------------  ------------------------
2016-09-28 17:41:00                  4            4  1 files, 1 folders

Discussion

<< < 1 2 (Page 2 of 2)
  • unxed

    unxed - 2024-05-22

    Fixed some minor errors:
    1) Avoid possible problems with table size calculation
    2) Assume CP437 if charset detection fails

     

    Last edit: unxed 2024-05-22
  • unxed

    unxed - 2024-05-21

    Asked several friends to test on several systems including Arch.

     

    Last edit: unxed 2024-05-21
  • unxed

    unxed - 2024-05-26

    Removed code branch that was actually unused. All ANSI archives that I have either also have UnicodeName field or have OEM codepage in Central header what is used by 7-zip and ANSI only in Local header.

     
  • unxed

    unxed - 2024-05-27

    Added -mcp option support

     
    • Sam Tansy

      Sam Tansy - 2024-05-28

      How to use this `-mcp'? Tried that, but got error:

      $ 7zz x -mcpCP1251 Desktop.zip
      
      Extracting archive: Desktop.zip
      ERROR: Desktop.zip
      Cannot open the file as archive
      
      E_INVALIDARG : One or more arguments are invalid
      
       
      • unxed

        unxed - 2024-05-28

        7zz -mcp=866 l ./zip.zip
        7zz -mcp=1251 l ./zip.zip

        etc

         
        👍
        1

        Last edit: unxed 2024-05-28
  • unxed

    unxed - 2024-06-07
     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.