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
unzip_jll fails to unzip certain types of zip files on MacOS and Windows.
These files can be unzipped by the builtin unzip command and can also be unzipped by unzip_jll on Ubuntu.
On Windows there seems to be some issue with UTF-8.
using ZipArchives
using unzip_jll
dir =mktempdir()
cd(dir)
ZipWriter("utf8.zip") do w
zip_writefile(w, "🐨.txt", b"test")
endrun(`$(unzip()) utf8.zip -d out`)
On Windows this fails with the following error:
Archive: utf8.zip
dY?".txt: mismatching "local" filename (_.txt),
continuing with "central" filename version
extracting: out/dY?".txt
and creates a file named "ðŸ\u90¨.txt"
On MacOS there seems to be some issue with zip64 support.
using ZipArchives
using unzip_jll
dir =mktempdir()
cd(dir)
open("files64.zip"; write=true) do io
ZipWriter(io; force_zip64=true) do w
zip_writefile(w, "test1.txt", b"test")
endendrun(`$(unzip()) files64.zip -d out`)
On MacOS this gives the error:
Archive: files64.zip
skipping: test1.txt need PK compat. v4.5 (can do v2.1)
and doesn't create any files.
The text was updated successfully, but these errors were encountered:
unzip_jll
fails to unzip certain types of zip files on MacOS and Windows.These files can be unzipped by the builtin
unzip
command and can also be unzipped byunzip_jll
on Ubuntu.I'm testing
unzip_jll
in JuliaIO/ZipArchives.jl#36On Windows there seems to be some issue with UTF-8.
On Windows this fails with the following error:
and creates a file named
"ðŸ\u90¨.txt"
On MacOS there seems to be some issue with zip64 support.
On MacOS this gives the error:
and doesn't create any files.
The text was updated successfully, but these errors were encountered: