Message231115
Your problem has two solutions.
1) Upgrade to Python 3 which handles correctly your use case (thanks to the PEP 383, surrogateescape error handler)
2) Only process filenames as bytes, and encode/decode manually (so you can decide how to handle undecodable filenames) |
|
Date |
User |
Action |
Args |
2014-11-13 14:40:44 | vstinner | set | recipients:
+ vstinner, ezio.melotti, fhoech |
2014-11-13 14:40:44 | vstinner | set | messageid: <1415889644.51.0.866465652984.issue22862@psf.upfronthosting.co.za> |
2014-11-13 14:40:44 | vstinner | link | issue22862 messages |
2014-11-13 14:40:44 | vstinner | create | |
|