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
I have provided a less elegant solution in my branch with two main problems
using try ... encode to probe the encoding, efficiency and accuracy are not guaranteed
need to decompress to a temporary folder before decoding and moving, which further reduces efficiency; if using read for writing, we have to determine whether the path represents a file or a folder
This is actually a cross-platform issue, caused by the default zip implementation of mac and windows not matching the protocol.
We provide a new implementation, but in fact the encoding incompatibility problem of windows is related to the language used by the user, currently it is only compatible with gbk(Chinese)
Description
just the same as weichsel/ZIPFoundation#63
python zipfile lib using flag to determind the encoding of the file https://github.com/python/cpython/blob/main/Lib/zipfile.py#L1384 but osx compress won't set that
so we may need to guess the encoding for zip
Reproduce
Expected behavior
Context
Command Line Output
Web Browser Output
The text was updated successfully, but these errors were encountered: