My system is in english.

However here is the output:
emanuele-gesuatos-mac-pro:demo emanuelegesuato$ python
>>> import locale
>>> print locale.getlocale()
(None, None)

What should be wrong ? However it seems not dabo related.
Thanks


On Sun, Sep 20, 2009 at 4:00 PM, Ed Leafe <[email protected]> wrote:
> On Sep 20, 2009, at 8:18 AM, Emanuele Gesuato wrote:
>
>>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
>> python2.5/locale.py",
>> line 375, in _parse_localename
>>    raise ValueError, 'unknown locale: %s' % localename
>> ValueError: unknown locale: UTF-8
>
>
>        That sounds like a configuration on your machine that Python doesn't
> understand. I'm assuming that your system is set to something other
> than US English?
>
>        Can you try this? Open a Terminal window, start a Python session, and
> at the Python prompt, type the following:
>
> [...@homer ~/projects/dabo]$ python
> Python 2.5.1 (r251:54863, Feb  6 2009, 19:02:12)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import locale
>  >>> print locale.getlocale()
>
>        Let me know what gets printed.
>
>        BTW, there is no longer any difference between 'python' and 'pythonw'
> on the Mac. It mattered once, but that's been fixed in the past few
> years.
>
>
> -- Ed Leafe
>
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to