Issue10090
Created on 2010-10-13 19:33 by belopolsky, last changed 2022-04-11 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg118567 - (view) | Author: Alexander Belopolsky (belopolsky) * ![]() |
Date: 2010-10-13 19:33 | |
$ python -m locale Locale aliasing: Locale defaults as determined by getdefaultlocale(): ------------------------------------------------------------------------ Language: en_US Encoding: UTF8 .. Locale settings after calling resetlocale(): ------------------------------------------------------------------------ Traceback (most recent call last): .. File "Lib/locale.py", line 548, in resetlocale _setlocale(category, _build_localename(getdefaultlocale())) locale.Error: unsupported locale setting Apparently the problem is due to locale.getdefaultlocale() returning encoding as 'UTF8' while locale.setlocale() expects 'UTF-8'. |
|||
| msg136151 - (view) | Author: Ronald Oussoren (ronaldoussoren) * ![]() |
Date: 2011-05-17 12:15 | |
I've applied a fix for #10154 and that also fixes this problem. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:57:07 | admin | set | github: 54299 |
| 2011-05-17 12:15:25 | ronaldoussoren | set | status: open -> closed nosy:
+ ronaldoussoren resolution: fixed |
| 2010-10-22 17:37:08 | eric.araujo | set | dependencies: + locale.normalize strips "-" from UTF-8, which fails on Mac |
| 2010-10-19 16:58:02 | eric.araujo | set | nosy:
+ loewis, eric.araujo versions: - Python 2.6 |
| 2010-10-17 03:37:51 | r.david.murray | set | nosy:
+ lemburg |
| 2010-10-13 19:33:11 | belopolsky | create | |
