Message324874
I would prefer to use the backslashreplace error handler rather of the unicode-escape codec. Just as few lines above, but with ASCII encoding.
msg = msg.encode('ascii', 'backslashreplace').decode('ascii')
It is still not clear to me why the current code purposed to handle this problem doesn't work in this case. We need to find the cause and fix the existing solution. |
|
Date |
User |
Action |
Args |
2018-09-09 07:06:29 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, eric.araujo, dstufft, miss-islington, julien.malard |
2018-09-09 07:06:29 | serhiy.storchaka | set | messageid: <1536476789.51.0.56676864532.issue34421@psf.upfronthosting.co.za> |
2018-09-09 07:06:29 | serhiy.storchaka | link | issue34421 messages |
2018-09-09 07:06:29 | serhiy.storchaka | create | |
|