Message309977
The technical issue here is that the libc has no "stateless" function to process bytes and text with one specific locale. All functions rely on the *current* locales. To decode byte strings, we use mbstowcs(), and this function relies on the current LC_CTYPE locale, whereas decimal_point and thousands_sep should be decoded from the current LC_NUMERIC locale. |
|
| Date |
User |
Action |
Args |
| 2018-01-15 13:14:07 | vstinner | set | recipients:
+ vstinner, lemburg, skrah, serhiy.storchaka, cstratak |
| 2018-01-15 13:14:07 | vstinner | set | messageid: <[email protected]> |
| 2018-01-15 13:14:07 | vstinner | link | issue31900 messages |
| 2018-01-15 13:14:07 | vstinner | create | |
|