Message257388
It looks like surrogate-escaped bytes should be supported thanks to Issue 8390, although this is not so useful if you use the “pax” format (which always uses UTF-8 internally).
To generate a surrogate-escaped string, you can “decode” it with the following error handler:
>>> b"non-as\xA9ii".decode("ascii", "surrogateescape")
'non-as\udca9ii' |
|
Date |
User |
Action |
Args |
2016-01-03 00:16:35 | martin.panter | set | recipients:
+ martin.panter, lars.gustaebel, vstinner, ezio.melotti, r.david.murray, Patrik Dufresne |
2016-01-03 00:16:35 | martin.panter | set | messageid: <1451780195.28.0.412953763193.issue25997@psf.upfronthosting.co.za> |
2016-01-03 00:16:35 | martin.panter | link | issue25997 messages |
2016-01-03 00:16:35 | martin.panter | create | |
|