Skip to content

[Bug]: Name encoding issue #305

@ywapple

Description

@ywapple

bit7z version

4.0.x

Compilation options

BIT7Z_AUTO_FORMAT, BIT7Z_USE_NATIVE_STRING, BIT7Z_PATH_SANITIZATION

7-zip version

v23.01

7-zip shared library used

7z.dll / 7z.so

Compilers

MSVC

Compiler versions

vs2022

Architecture

x86

Operating system

Windows

Operating system versions

win11

Bug description

1-50份[0分-100分原卷_2025级实验班选拔考试(数学)].zip

The internal name is displayed as messy codes instead of being correctly displayed

BitArchiveReader arc{ lib, zipFile, PreCheckFormart(zipFile), strOpenPwd};
for (auto file : arc)
{
shared_ptr pItem = make_shared();
pItem->index = file.index();
pItem->name = file.name(); //here.. error

。。。

Steps to reproduce

No response

Expected behavior

No response

Relevant compilation output

Code of Conduct

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions