Message309977
| Author | vstinner |
|---|---|
| Recipients | cstratak, lemburg, serhiy.storchaka, skrah, vstinner |
| Date | 2018-01-15.13:14:07 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1516022047.24.0.467229070634.issue31900@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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: <1516022047.24.0.467229070634.issue31900@psf.upfronthosting.co.za> |
| 2018-01-15 13:14:07 | vstinner | link | issue31900 messages |
| 2018-01-15 13:14:07 | vstinner | create | |