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 natim
Recipients asvetlov, natim, vstinner, yselivanov
Date 2018-10-18.11:06:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539860809.59.0.788709270274.issue35014@psf.upfronthosting.co.za>
In-reply-to
Content
Here we go:

```
$ python3.7 demo.py 
utf-8
UTF-8
Traceback (most recent call last):
  File "demo.py", line 21, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.7/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.7/asyncio/base_events.py", line 568, in run_until_complete
    return future.result()
  File "demo.py", line 14, in main
    sys.stdout.write(out.decode('utf-8'))
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 1: ordinal not in range(128)
```
History
Date User Action Args
2018-10-18 11:06:49natimsetrecipients: + natim, vstinner, asvetlov, yselivanov
2018-10-18 11:06:49natimsetmessageid: <1539860809.59.0.788709270274.issue35014@psf.upfronthosting.co.za>
2018-10-18 11:06:49natimlinkissue35014 messages
2018-10-18 11:06:49natimcreate
Morty Proxy This is a proxified and sanitized view of the page, visit original site.