Message325098
| Author |
vstinner |
| Recipients |
ncoghlan, ned.deily, vstinner |
| Date |
2018年09月11日.23:51:13 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1536709873.13.0.0269046726804.issue34589@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Example of C locale coercion with Python 3.7:
$ env -i PYTHONCOERCECLOCALE=0 ./python -X utf8=0 -c 'import sys; print(ascii(sys.argv[1]))' 'hé'
'h\udcc3\udca9'
$ env -i PYTHONCOERCECLOCALE=1 ./python -X utf8=0 -c 'import sys; print(ascii(sys.argv[1]))' 'hé'
'h\xe9'
It works as expected no? What's wrong with the current implementation according to you, Nick? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年09月11日 23:51:13 | vstinner | set | recipients:
+ vstinner, ncoghlan, ned.deily |
| 2018年09月11日 23:51:13 | vstinner | set | messageid: <1536709873.13.0.0269046726804.issue34589@psf.upfronthosting.co.za> |
| 2018年09月11日 23:51:13 | vstinner | link | issue34589 messages |
| 2018年09月11日 23:51:13 | vstinner | create |
|