Message225816
| Author |
ncoghlan |
| Recipients |
ncoghlan |
| Date |
2014年08月24日.12:58:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1408885104.65.0.746353901366.issue22264@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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) |
|
History
|
|---|
| 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 |
|