Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28206 > unrolled thread
| Started by | Peter Otten <__peter__@web.de> |
|---|---|
| First post | 2012-09-01 08:10 +0200 |
| Last post | 2012-09-01 08:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: why i can't set locale? Peter Otten <__peter__@web.de> - 2012-09-01 08:10 +0200
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Date | 2012-09-01 08:10 +0200 |
| Subject | Re: why i can't set locale? |
| Message-ID | <mailman.26.1346479853.27098.python-list@python.org> |
contro opinion wrote: >>>> locale.setlocale(locale.LC_ALL, 'gbk') > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python2.6/locale.py", line 513, in setlocale > return _setlocale(category, locale) > locale.Error: unsupported locale setting Try picking one of the locales listed by $ locale -a (Goggle suggests that you may be looking for "zh_CN.GBK")
Back to top | Article view | comp.lang.python
csiph-web