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

fix: Decode Zip-Info UTF8 name and comment fields (#159) #182

Merged
merged 11 commits into from
Jun 3, 2024

Conversation

Pr0methean
Copy link
Member

Per APPNOTE 4.6.8 and 4.6.9, some ZIP archives have romanized filenames and comment text in CP437 for backward compatibility, but also have an extra data field containing the name in its own writing system in UTF-8. In such cases, we now extract the filename and comment from their respective extra fields. Fixes #159(?).

@Pr0methean Pr0methean enabled auto-merge June 3, 2024 00:52
@Pr0methean Pr0methean added the waiting to be automatically merged If this PR isn't automatically merged, suspect a broader issue. label Jun 3, 2024
@Pr0methean Pr0methean added this pull request to the merge queue Jun 3, 2024
Merged via the queue into master with commit 9cc845d Jun 3, 2024
45 checks passed
@Pr0methean Pr0methean deleted the utf8_extra_fields branch June 3, 2024 16:23
@Pr0methean Pr0methean removed the waiting to be automatically merged If this PR isn't automatically merged, suspect a broader issue. label Jul 6, 2024
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

Successfully merging this pull request may close these issues.

Can't extract chinese filename when diff os
1 participant