Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zip "gbk" decode request? #15

Open
FlotingDream opened this issue Jun 16, 2022 · 0 comments
Open

zip "gbk" decode request? #15

FlotingDream opened this issue Jun 16, 2022 · 0 comments

Comments

@FlotingDream
Copy link

FlotingDream commented Jun 16, 2022

Achive file with chinese character name file in it unpack will give wrong results, zip "gbk" decode request?

Achive:
test.zip

├─test
│ └─测试 (subfolder with chinese name)
│ └─test
│ test.txt
│ 测试.txt (file with chinese name)

after
arch = pyunpack.Archive()
arch.extractall()

will get

└─test
│ └─▓Γ╩╘
│ └─test
│ test.txt
│ ▓Γ╩╘.txt

All with chinese name will goes wrong!

test.zip

===========================

And pyunpack seems cannot handle 7z?
log:
patool can not unpack
patool error: error extracting could not find an executable program to extract format 7z; candidates are (7z,7za,7zr)

@FlotingDream FlotingDream changed the title Achive file with chinese character name file in it unpack will give wrong results, utf-8 request? Achive file with chinese character name file in it unpack will give wrong results, zip "gbk" decode request? Jun 16, 2022
@FlotingDream FlotingDream changed the title Achive file with chinese character name file in it unpack will give wrong results, zip "gbk" decode request? zip "gbk" decode request? Jun 16, 2022
ponty pushed a commit that referenced this issue Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant