Message236856
Python 3 will only use UTF-8 encoding if you ask it to, or if the default locale encoding happens to be UTF-8. I suspect one of the file names in the “hay” list must contain a Unicode hyphen (U+2010), and your default encoding is some single byte encoding that cannot encode the hyphen. If you definitely want to write a UTF-8 file, use the open(encoding="utf-8") parameter. |
|
Date |
User |
Action |
Args |
2015-02-27 23:19:16 | martin.panter | set | recipients:
+ martin.panter, vstinner, ezio.melotti, Gravitania |
2015-02-27 23:19:16 | martin.panter | set | messageid: <1425079156.35.0.150826471674.issue23543@psf.upfronthosting.co.za> |
2015-02-27 23:19:16 | martin.panter | link | issue23543 messages |
2015-02-27 23:19:16 | martin.panter | create | |
|