You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: