Menu

Empty Packed Size for cyrillic files.

Gemorroj
2017-01-08
2017-01-09
  • Gemorroj

    Gemorroj - 2017-01-08

    See output for "Path = чавес.jpg". Packed Size =
    Example file: https://github.com/Gemorroj/Archive7z/blob/master/Tests/fixtures/test.7z?raw=true
    Example output (c:\Program Files\7-Zip>7z.exe l "s:\VCS\Git\Archive7z\Tests\fixtures\test.7z" -slt) :

    7-Zip [64] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04
    
    Scanning the drive for archives:
    1 file, 165666 bytes (162 KiB)
    
    Listing archive: s:\VCS\Git\Archive7z\Tests\fixtures\test.7z
    
    --
    Path = s:\VCS\Git\Archive7z\Tests\fixtures\test.7z
    Type = 7z
    Physical Size = 165666
    Headers Size = 253
    Method = LZMA:17
    Solid = +
    Blocks = 3
    
    ----------
    Path = test\2.jpg
    Size = 60012
    Packed Size = 60572
    Modified = 2013-02-06 13:15:58
    Attributes = An
    CRC = A8EA2323
    Encrypted = -
    Method = LZMA:16
    Block = 0
    
    Path = 1.jpg
    Size = 91216
    Packed Size = 104822
    Modified = 2013-06-10 09:56:07
    Attributes = A
    CRC = 871345C2
    Encrypted = -
    Method = LZMA:17
    Block = 1
    
    Path = чавес.jpg
    Size = 18030
    Packed Size = 
    Modified = 2013-03-06 10:42:48
    Attributes = A
    CRC = F7F7E91B
    Encrypted = -
    Method = LZMA:17
    Block = 1
    
    Path = test\test.txt
    Size = 14
    Packed Size = 19
    Modified = 2013-10-23 16:28:51
    Attributes = A
    CRC = A346C3A7
    Encrypted = -
    Method = LZMA:16
    Block = 2
    
    Path = test
    Size = 0
    Packed Size = 0
    Modified = 2013-10-22 17:51:46
    Attributes = Dn
    CRC = 
    Encrypted = -
    Method = 
    Block = 
    
     
  • Igor Pavlov

    Igor Pavlov - 2017-01-08

    It's OK.
    7-Zip knows the "packed size" only for whole solid block.
    So it shows "packed size" only for first file of each solid block.

     
    • Gemorroj

      Gemorroj - 2017-01-08

      Do you plan to correct it?

       
      • Igor Pavlov

        Igor Pavlov - 2017-01-08

        No.
        1) 7z format doesn't support such feature. And I don't want to change it now. It can be too difficult.
        2) That information is not so importnat. The decoder doesn't need that information. Why do you want to know packed size of each file?

        And you can disable "solid" mode. So you will see packed size for each file.

         
  • Gemorroj

    Gemorroj - 2017-01-09

    It's just non-obvious behaviour (A similar bug was created in my wrapper in php for 7-zip.).
    Perhaps we should rename the parameter so as not to mislead.

     

Log in to post a comment.