ValueError: unknown locale: UTF-8
- From: Mario Ruggier <mario@xxxxxxxxxxx>
- Date: Sat, 31 May 2008 12:57:56 +0200
On OS X 10.5.2 :
$ python
Python 2.5.1 (r251:54863, Feb 4 2008, 21:48:13)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getdefaultlocale()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/locale.py", line 441, in getdefaultlocale
return _parse_localename(localename)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/locale.py", line 373, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
>>>
This is on open bug or is there more to it?
Regards, mario
.
- Follow-Ups:
- Re: ValueError: unknown locale: UTF-8
- From: Arnaud Delobelle
- Re: ValueError: unknown locale: UTF-8
- Prev by Date: Re: UNIX credential passing
- Next by Date: File browser in python gui
- Previous by thread: TRISHA FILM ACTRESS
- Next by thread: Re: ValueError: unknown locale: UTF-8
- Index(es):
Relevant Pages
|