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) On 10/31/07, Lavoie Francis <[EMAIL PROTECTED]> wrote: > I don't know how to reproduce this error. > > But If I check the comment : > This is really a bug in Leopard. UTF-8 doesn't look like a valid value for > the LANG environment variable. It should be something of the form > language[_territory][.codeset], where UTF-8 is only the codeset part. > > LANG on my system is set to fr_CA.UTF-8, which is valid. > > But python doesn't seems to take it into account, if I import locale and try > : > > locale.getlocale() > I got : (None, None) > > > But this with the default python that comes with Leopard. Not the one in > macport. > > > > > Le 07-10-31 à 23:31, Malcolm Tredinnick a écrit : > > > Can anybody using Apple's Leopard OS confirm #5846 exists by default? > > This is either a mistake on the part of the reporter or a total bozo bug > on Apple's part. I'd like to establish which. > > Thanks, > Malcolm > > -- > I don't have a solution, but I admire your problem. > http://www.pointy-stick.com/blog/ > > > > > > > > > -- Omnem crede diem tibi diluxisse supremum. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---