This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 ncoghlan
收信人 Arfrever, ezio.melotti, lemburg, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, vstinner
日期 2014-09-23.11:00:43
SpamBayes Score -1.0
Marked as misclassified
Message-id <1411470044.07.0.398731960244.issue18814@psf.upfronthosting.co.za>
In-reply-to
内容
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
历史
日期 用户 动作 参数
2014-09-23 11:00:44ncoghlan修改recipients: + ncoghlan, lemburg, pitrou, vstinner, ezio.melotti, Arfrever, r.david.murray, serhiy.storchaka
2014-09-23 11:00:44ncoghlan修改messageid: <1411470044.07.0.398731960244.issue18814@psf.upfronthosting.co.za>
2014-09-23 11:00:44ncoghlan链接issue18814 messages
2014-09-23 11:00:43ncoghlan创建