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

Generate zip files with both OEM and UTF8 filename versions using 0x7075 header field #1

Open
unxed opened this issue Jul 17, 2020 · 0 comments

Comments

@unxed
Copy link

unxed commented Jul 17, 2020

We currently suffer from kind of compromise: use vanilla p7zip and have full UTF8 file names support, or use this fork and have archives that are properly opened on windows platform.

But for sure we can achieve both at the same time! We just should write additional 0x7075 zip header field with UTF8 version of file names. So on windows OEM file names will be used, and linux packers (and winzip and winrar also) will use UTF8 filename version from 0x7075 field.

This is sample of correct multiplatform zip file that has both OEM and UTF8 file names versions. Such files can be correctly opened on windows, and preserve all UTF8 characters on other platforms also.
winzip.zip

@unxed unxed changed the title Generate zip files with both OEM and UTF8 filename versions using 0x7075 additional field Generate zip files with both OEM and UTF8 filename versions using 0x7075 header field Jul 17, 2020
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