Message309987
Test on Linux (Fedora 27, glibc 2.26):
locale.setlocale(locale.LC_ALL, "fr_FR")
locale.setlocale(locale.LC_NUMERIC, "es_MX.utf8")
It works as expected, result:
decimal_point: '.'
thousands_sep: '\u2009'
Python 3.6 returns mojibake:
decimal_point: '.'
thousands_sep: '\xe2\x80\x89'
Python 2.7 raw strings, thousands_sep = b'\xE2\x80\x89'. |
|
Date |
User |
Action |
Args |
2018-01-15 14:46:06 | vstinner | set | recipients:
+ vstinner, lemburg, skrah, serhiy.storchaka, cstratak |
2018-01-15 14:46:06 | vstinner | set | messageid: <1516027566.46.0.467229070634.issue31900@psf.upfronthosting.co.za> |
2018-01-15 14:46:06 | vstinner | link | issue31900 messages |
2018-01-15 14:46:06 | vstinner | create | |
|