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 vstinner
Date 2011-01-21.12:00:43
SpamBayes Score 5.6974625e-07
Marked as misclassified No
Message-id <>
ZipInfo._encodeFilename() tries cp437 encoding or use UTF-8. It is not possible to decide the encoding.

To workaround #10955 (bootstrap issue with, it would be nice to be able to create a ZIP file using only UTF-8 filenames.

Attached patch adds unicode parameter to ZipFile.write(), ZipFile.writestr() and ZipInfo constructor.
Date User Action Args
2011-01-21 12:00:46vstinnersetrecipients: + vstinner
2011-01-21 12:00:45vstinnersetmessageid: <>
2011-01-21 12:00:43vstinnerlinkissue10972 messages
2011-01-21 12:00:43vstinnercreate