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
Hi, I am running into issues when using ZipFile.jl to create a zip archive that contains files with unicode names. Consider this minimal example:
using ZipFile
dir = ZipFile.Writer("unicode_test.zip")
f = ZipFile.addfile(dir, "α.txt"; method=ZipFile.Store)
write(f, "hi")
close(dir)
If I open the file with ZipFile.jl I can read the contents fine. However, when using other zip tools they fail to properly get the filename. For example, using the standard "unzip" command found on most linux distros (made by Info-ZIP) I get the following
Of course, this is not an issue with the locale setting of the terminal, I can properly see unicode characters and zip files containing unicode filenames created with other tools work fine.
Another example where the ZipFile.jl-generated file fails is if one tries to open it with Python's official "zipfile" library:
Hi, I am running into issues when using ZipFile.jl to create a zip archive that contains files with unicode names. Consider this minimal example:
If I open the file with ZipFile.jl I can read the contents fine. However, when using other zip tools they fail to properly get the filename. For example, using the standard "unzip" command found on most linux distros (made by Info-ZIP) I get the following
Of course, this is not an issue with the locale setting of the terminal, I can properly see unicode characters and zip files containing unicode filenames created with other tools work fine.
Another example where the ZipFile.jl-generated file fails is if one tries to open it with Python's official "zipfile" library:
The text was updated successfully, but these errors were encountered: