Message227342
| Author |
ncoghlan |
| Recipients |
Arfrever, ezio.melotti, lemburg, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, vstinner |
| Date |
2014年09月23日.11:00:43 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1411470044.07.0.398731960244.issue18814@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Note I would also be OK with "convert_surrogates", as that's the term that appears in the relevant error message:
>>> b'\xe9'.decode('ascii', 'surrogateescape').encode()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'utf-8' codec can't encode character '\udce9' in position 0: surrogates not allowed |
|