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 serhiy.storchaka
Recipients pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2013-09-28.21:02:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380402130.93.0.124522634149.issue19058@psf.upfronthosting.co.za>
In-reply-to
Content
> Your test is skipped if the locale encoding is ASCII, whereas the purpopse of PYTHONIOENCODING is to write non-ASCII characters without having to care of the locale encoding.

This case was tested in previous test.

> If you really want to check the codec itself, you should use known sequence, ex: 'héllo€'.encode('cp1252') gives b'h\xe9llo\x80'.

We can't be sure that OS supports cp1252 (or any other non-default) locale.
History
Date User Action Args
2013-09-28 21:02:10serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner, r.david.murray
2013-09-28 21:02:10serhiy.storchakasetmessageid: <1380402130.93.0.124522634149.issue19058@psf.upfronthosting.co.za>
2013-09-28 21:02:10serhiy.storchakalinkissue19058 messages
2013-09-28 21:02:10serhiy.storchakacreate