#5846: locale.py fails if LANG is UTF-8
-----------------------------------------------------+----------------------
Reporter:  Patrick Lauber <[EMAIL PROTECTED]>  |       Owner:  nobody       
  Status:  new                                       |   Component:  
Uncategorized
 Version:  SVN                                       |    Keywords:             
  
   Stage:  Unreviewed                                |   Has_patch:  0          
  
-----------------------------------------------------+----------------------
 on OSX Leopard with macports, mysql and postgresql LANG is defined as:
 UTF-8 ... on Tiger it was empty
 This somehow breaks django:

 Traceback (most recent call last):
 File
 
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py"
 in getdefaultlocale
   441. return _parse_localename(localename)
 File
 
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py"
 in _parse_localename
   373. raise ValueError, 'unknown locale: %s' % localename

   ValueError at /admin/contact/company/
   unknown locale: UTF-8

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5846>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to