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 vstinner
Recipients Michael.Felt, michael-o, terry.reedy, vstinner
Date 2018-08-28.07:40:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535442022.3.0.56676864532.issue34403@psf.upfronthosting.co.za>
In-reply-to
Content
Hi, I'm the author of the UTF-8 Mode PEP (PEP 540) and its implementation. I wrote test_utf8_mode. I wasn't sure that it was a good idea to hardcode the locale encoding depending on the platform. The fact that AIX and HP-UX use different locale encoding confirms that it was a bad choice. My PR 8967 gets the locale encoding at runtime instead of hardcoding it. It should fix the test on AIX and HP-UX.

To fix the test on HP-UX, I also removed the euro sign (U+20AC: €) from the test string. There is no need to test large code point: a single non-ASCII character is enough to validate the code.

Michael Osipov: would you mind to test my PR on HP-UX please?
History
Date User Action Args
2018-08-28 07:40:22vstinnersetrecipients: + vstinner, terry.reedy, Michael.Felt, michael-o
2018-08-28 07:40:22vstinnersetmessageid: <1535442022.3.0.56676864532.issue34403@psf.upfronthosting.co.za>
2018-08-28 07:40:22vstinnerlinkissue34403 messages
2018-08-28 07:40:22vstinnercreate