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
First off, you are awesome. Love your approach with this library.
Going through the code, I was curious why you are decoding comment text using CP437 encoding, I couldn't find a reference to this encoding in the PKWare spec. Should UTF8 just work fine?
The text was updated successfully, but these errors were encountered:
The ZIP format has historically supported only the original IBM PC character
encoding set, commonly referred to as IBM Code Page 437.
The appendix goes on to explain how to specify UTF-8 encoding for the file names and comments of individual files. There is no zipfile-wide charset specification and no way I can find to specify the charset of the zipfile comment. My interpretation of this situation is that the zipfile comment is always the "default" encoding of CP437.
Hey @thejoshwolfe,
First off, you are awesome. Love your approach with this library.
Going through the code, I was curious why you are decoding comment text using CP437 encoding, I couldn't find a reference to this encoding in the PKWare spec. Should UTF8 just work fine?
The text was updated successfully, but these errors were encountered: