Message118567
$ 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'. |
|
Date |
User |
Action |
Args |
2010-10-13 19:33:12 | belopolsky | set | recipients:
+ belopolsky |
2010-10-13 19:33:12 | belopolsky | set | messageid: <1286998392.83.0.0924618610068.issue10090@psf.upfronthosting.co.za> |
2010-10-13 19:33:11 | belopolsky | link | issue10090 messages |
2010-10-13 19:33:11 | belopolsky | create | |
|