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.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/System/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
python2.5/locale.py", line 441, in getdefaultlocal e
return _parse_localena me(localename)
File "/System/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
python2.5/locale.py", line 373, in _parse_localena me
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
This is on open bug or is there more to it?
Regards, mario
$ 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.getdef aultlocale()
>>locale.getdef aultlocale()
File "<stdin>", line 1, in <module>
File "/System/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
python2.5/locale.py", line 441, in getdefaultlocal e
return _parse_localena me(localename)
File "/System/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
python2.5/locale.py", line 373, in _parse_localena me
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
>>>
Regards, mario
Comment