Skip to content

Conversation

@tang3w
Copy link
Contributor

@tang3w tang3w commented Jan 9, 2026

Fixes #373

Changes proposed in this PR

  • This PR adds Info-ZIP unicode path extra field when parsing local header, to facilitate ZIPFoundation to unzip the entries that don't have utf-8 encoded path in central directory structure but in Info-ZIP extra field.

Tests performed

Tested with the test.zip attached in #373

Further info for the reviewer

N/A

Open Issues

N/A

Copy link
Owner

@weichsel weichsel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding support for the Info-ZIP path extra field! This way we can decode paths in Info-ZIP compliant archives in a deterministic way on all platforms 🎉.

@weichsel
Copy link
Owner

Thank you for the changes - great work!

@weichsel weichsel merged commit bfc31c5 into weichsel:development Jan 10, 2026
10 checks passed
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.

Cannot extract entry whose path is encoded by GB 18030

2 participants