#12714: Encoding problem with Oracle + Django --------------------------------------+------------------------------------- Reporter: wandenberg | Owner: nobody Status: new | Milestone: Component: Core framework | Version: SVN Keywords: oracle encoding nls_lang | Stage: Unreviewed Has_patch: 0 | --------------------------------------+------------------------------------- Hi,
I've noticed a problem with Oracle + Django concerning encoding. In the file django/db/backends/oracle/base.py the environment variable NLS_LANG is always changed to ".UTF8", but in some cases is necessary to change this. I imagine is a better idea to have some code like this: if not os.environ.has_key('NLS_LANG'): os.environ['NLS_LANG'] = '.UTF8' Instead of "os.environ['NLS_LANG'] = '.UTF8'" Regards, Wandenberg -- Ticket URL: <http://code.djangoproject.com/ticket/12714> Django <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 django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.