Message194708
> e.encode('latin1', 'backslashreplace').decode('unicode-escape')
this works, but still the quotes are backslash escaped.
translate will do what i need for my use case, but it doesn't support streaming for larger chunks of data.
it is nice that there is a workaround but i do still think this is a valuable enough feature that there should be a builtin codec for it. |
|
Date |
User |
Action |
Args |
2013-08-08 20:47:28 | underrun | set | recipients:
+ underrun, r.david.murray, serhiy.storchaka |
2013-08-08 20:47:28 | underrun | set | messageid: <1375994848.89.0.804264522586.issue18679@psf.upfronthosting.co.za> |
2013-08-08 20:47:28 | underrun | link | issue18679 messages |
2013-08-08 20:47:28 | underrun | create | |
|