This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yudilevi
Recipients dhillier, iritkatriel, yudilevi
Date 2022-03-05.23:46:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646523974.2.0.823656541054.issue40172@roundup.psfhosted.org>
In-reply-to
Content
The main issue is that when extracting older zip files, files are actually written to disk with corrupted (altered) names.
Unfortunately it's been a while since I saw this issue and I can't tell if it was fixed or if I simply can't reproduce it.
I do see that encoding/decoding in ZipInfo is still inconsistent, sometimes uses ascii codepage and sometimes uses cp437 codepage which seems wrong to me.
Not sure how we should handle it but I think that switching the default ascii encoding to cp437 to be consistent with the old implementation (and with the filename decoding) seems like the right way to go.
History
Date User Action Args
2022-03-05 23:46:14yudilevisetrecipients: + yudilevi, dhillier, iritkatriel
2022-03-05 23:46:14yudilevisetmessageid: <1646523974.2.0.823656541054.issue40172@roundup.psfhosted.org>
2022-03-05 23:46:14yudilevilinkissue40172 messages
2022-03-05 23:46:14yudilevicreate