homepage

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.

Author deleted250130
Recipients a.badger, bkabrda, deleted250130, ezio.melotti, ishimoto, jwilk, larry, loewis, martin.panter, ncoghlan, pitrou, python-dev, r.david.murray, serhiy.storchaka, vstinner
Date 2017年01月06日.20:55:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483736111.14.0.512469519934.issue19977@psf.upfronthosting.co.za>
In-reply-to
Content
Bug #28180 has caused me to make a look at the "encoding" issue this and the tickets before have tried to solve more or less. Being a bit unsure what the root cause and intention for all this was I'm now at a point to actually check this ticket. Here is an example code (executed with Python 3.5.3 RC1 by having LANG set to C):
import sys
sys.stdout.write('ä')
I thought with the surrogateescape error handler now being used for sys.stdout this would not throw an exception but I'm getting this:
UnicodeEncodeError: 'ascii' codec can't encode character '\xe4' in position 0: ordinal not in range(128)
History
Date User Action Args
2017年01月06日 20:55:11deleted250130setrecipients: + deleted250130, loewis, ishimoto, ncoghlan, pitrou, vstinner, larry, jwilk, ezio.melotti, a.badger, r.david.murray, python-dev, martin.panter, serhiy.storchaka, bkabrda
2017年01月06日 20:55:11deleted250130setmessageid: <1483736111.14.0.512469519934.issue19977@psf.upfronthosting.co.za>
2017年01月06日 20:55:11deleted250130linkissue19977 messages
2017年01月06日 20:55:10deleted250130create

AltStyle によって変換されたページ (->オリジナル) /