On 11/1/07, Wilson MacGyver <[EMAIL PROTECTED]> wrote:
>
>
> I too can confirm this.
>
> echo $LANG gives en_US.UTF-8
>
> but using both /usr/bin/python which is the one that came
> with OSX Leopard, or using the MacPython downloaded
> from www.python.org at the path
> /Library/Frameworks/Python.framework/Versions/Current/bin/python
>
> in both cases,
>
> >>> import locale
> >>> locale.getlocale()
>
> outputs
>
> (None, None)
>

That's normal, if you haven't done a setlocale().  It's
locale.getdefaultlocale() that takes into account the LANG environment
setting.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to