Message126727
7zip and WinRAR uses the same algorithm than ZipFile._encodeFilename(): try cp437 or use UTF-8. Eg. if a filename contains ∞ (U+221E), it is encoded to UTF-8.
WinZIP encodes all filenames to cp437: ∞ (U+221E) is replaced by 8 (U+0038), ☺ (U+263A) is replaced by... U+0001!
7zip, WinRAR and WinZIP are able to decode UTF-8 filenames (handle correctly the unicode flag). |
|
Date |
User |
Action |
Args |
2011-01-21 12:07:09 | vstinner | set | recipients:
+ vstinner, alanmcintyre |
2011-01-21 12:07:09 | vstinner | set | messageid: <1295611629.36.0.303977621119.issue10972@psf.upfronthosting.co.za> |
2011-01-21 12:07:08 | vstinner | link | issue10972 messages |
2011-01-21 12:07:08 | vstinner | create | |
|