Message225816
Last tweak, since the purpose is to fix the original incorrect decoding to latin-1, this should be defined as a decoding operation:
def fix_decoding(data, encoding, errors="surrogateescape"):
return data.encode("latin-1").decode(encoding, errors) |
|
Date |
User |
Action |
Args |
2014-08-24 12:58:24 | ncoghlan | set | recipients:
+ ncoghlan |
2014-08-24 12:58:24 | ncoghlan | set | messageid: <1408885104.65.0.746353901366.issue22264@psf.upfronthosting.co.za> |
2014-08-24 12:58:24 | ncoghlan | link | issue22264 messages |
2014-08-24 12:58:24 | ncoghlan | create | |
|