On Thu, 2007-11-01 at 02:46 -0400, Wilson MacGyver wrote:
> My bad.
>
> using MacPython, I get
>
> >>> import locale
> >>> locale.getdefaultlocale()
> (None, 'mac-roman')
>
> using the /usr/bin/python that came with leopard though, I get
> >>> import locale
> >>> locale.getdefaultlocale()
> ('en_US', 'UTF8')
Ok, thanks.
I think we have enough feedback now, everybody. Thanks for the rapid
responses.
I was mostly interested in what LANG was set to; I already believe
Python's locale stuff works correctly. The links Karen found suggest
that it is a Leopard problem, but isn't to affect everybody and it is
possible to work around. So annoying, but not a showstopper.
Malcolm
--
No one is listening until you make a mistake.
http://www.pointy-stick.com/blog/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---