Message126724
| Author |
vstinner |
| Recipients |
vstinner |
| Date |
2011年01月21日.12:00:43 |
| SpamBayes Score |
5.6974625e-07 |
| Marked as misclassified |
No |
| Message-id |
<1295611245.09.0.199855932712.issue10972@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
ZipInfo._encodeFilename() tries cp437 encoding or use UTF-8. It is not possible to decide the encoding.
To workaround #10955 (bootstrap issue with python32.zip), 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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年01月21日 12:00:46 | vstinner | set | recipients:
+ vstinner |
| 2011年01月21日 12:00:45 | vstinner | set | messageid: <1295611245.09.0.199855932712.issue10972@psf.upfronthosting.co.za> |
| 2011年01月21日 12:00:43 | vstinner | link | issue10972 messages |
| 2011年01月21日 12:00:43 | vstinner | create |
|