Message126721
Oh, py2app is implemented in Python and use the zipfile module. So if we can control how the filename is encoded, we can fix py2app to workaround this limitation :-)
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 ! |
|
Date |
User |
Action |
Args |
2011-01-21 11:53:49 | vstinner | set | recipients:
+ vstinner, georg.brandl, ronaldoussoren, amaury.forgeotdarc |
2011-01-21 11:53:49 | vstinner | set | messageid: <1295610829.8.0.458297802128.issue10955@psf.upfronthosting.co.za> |
2011-01-21 11:53:48 | vstinner | link | issue10955 messages |
2011-01-21 11:53:48 | vstinner | create | |
|