zip encoding format #1033
Replies: 2 comments 4 replies
-
There is no reasonable way to detect these, as they rely on assuming the code page used for the encoding. Use utf-8 when encoding, or plain ascii. This behaves similar to the standard library. I would be willing to accept a well made and documented pull request that allows specifying a codepage to use for all files, but you might as well just convert the (FileHeader).Name you get returned. |
Beta Was this translation helpful? Give feedback.
-
I don't need to detect the encoding, I just want the ability to specify it explicitly. Since I cannot predict the encoding type used by the user, this causes issues when using |
Beta Was this translation helpful? Give feedback.
-
How to specify the encoding format to use when reading Zip?
If you try to read the Zip file of big5, garbled characters will appear.
Beta Was this translation helpful? Give feedback.
All reactions