#10426: Add a description of language environment variales to "How to use Django with Apache and mod_python" doc page ------------------------------------+--------------------------------------- Reporter: daybreaker | Owner: nobody Status: new | Milestone: 1.1 Component: Documentation | Version: 1.0 Resolution: | Keywords: i18n unicode utf-8 file path apache mod_python mod_wsgi language environment variable Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ------------------------------------+--------------------------------------- Comment (by daybreaker):
I don't know much about mod_wsgi because I haven't used it, but one thing clear is that changing `os.environ['LANG']` does not affect the behaviour of Python's os and os.path module on unicode path strings. Setting environment variable must be done before Python interpreter is initialized. -- Ticket URL: <http://code.djangoproject.com/ticket/10426#comment:3> 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-updates@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 -~----------~----~----~----~------~----~------~--~---