Message324214
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? |
|
Date |
User |
Action |
Args |
2018-08-28 07:40:22 | vstinner | set | recipients:
+ vstinner, terry.reedy, Michael.Felt, michael-o |
2018-08-28 07:40:22 | vstinner | set | messageid: <1535442022.3.0.56676864532.issue34403@psf.upfronthosting.co.za> |
2018-08-28 07:40:22 | vstinner | link | issue34403 messages |
2018-08-28 07:40:22 | vstinner | create | |
|