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 vstinner
Recipients amaury.forgeotdarc, georg.brandl, ronaldoussoren, vstinner
Date 2011-01-21.11:53:48
SpamBayes Score 0.000155071
Marked as misclassified No
Message-id <1295610829.8.0.458297802128.issue10955@psf.upfronthosting.co.za>
In-reply-to
Content
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 !
History
Date User Action Args
2011-01-21 11:53:49vstinnersetrecipients: + vstinner, georg.brandl, ronaldoussoren, amaury.forgeotdarc
2011-01-21 11:53:49vstinnersetmessageid: <1295610829.8.0.458297802128.issue10955@psf.upfronthosting.co.za>
2011-01-21 11:53:48vstinnerlinkissue10955 messages
2011-01-21 11:53:48vstinnercreate