bit7z icon indicating copy to clipboard operation
bit7z copied to clipboard

[Bug]: Incorrect display and decompression of compressed file name

Open psvajaz opened this issue 7 months ago • 4 comments

bit7z version

4.0.x

Compilation options

BIT7Z_AUTO_FORMAT, BIT7Z_USE_NATIVE_STRING

7-zip version

v23.01

7-zip shared library used

7z.dll / 7z.so

Compilers

MSVC

Compiler versions

MSVC2017

Architecture

x86_64

Operating system

Windows

Operating system versions

Win11

Bug description

When previewing and decompressing the compressed file generated by Unix, the file names in the compressed file cannot be displayed properly. Through debugging the code, it was found that the BitArchiveItemInfo:: mItemProperties of the text item cannot display properly. Method=L "Deflate", HostOS=L "Unix", Characters=L "UT: MA: 1 Ux". I used the system's built-in tools in MacOS to compress a compressed package file name that can display normally, corresponding to Method=L "Store", HostOS=L "Unix", Characters=L "UT: MAC: 3 ux" Attachment 1: image Attachment 2: image

Steps to reproduce

No response

Expected behavior

No response

Relevant compilation output

No response

Code of Conduct

psvajaz avatar Nov 24 '23 07:11 psvajaz