#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.0.3
Component: Documentation
| Version: 1.0
Keywords: i18n unicode utf-8 file path apache mod_python mod_wsgi language
environment variable | Stage: Unreviewed
Has_patch: 0
|
---------------------------------------------------------------------------------------------------+
Hello, I'm a Korean user of Django.
I've suffered from some issues on unicode file paths on mod_python, and
finally I found the rescue
[http://code.djangoproject.com/wiki/django_apache_and_mod_wsgi here].
When you're going to use non-ascii filenames in your Django project
running on Apache mod_python, the environment value for LANG should be set
properly so that Python's os and os.path module can handle unicode
filenames with proper encoding. There was no problem when I run my project
with the test server included in Django because the LANG environment
variable of my user account was set properly, but on mod_python it wasn't.
I think the official documentation for deployment on mod_python (and maybe
mod_wsgi also) should explain how to set the language environment variable
properly, for example in this case, using `/etc/apache2/envvars`.
--
Ticket URL: <http://code.djangoproject.com/ticket/10426>
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 [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
-~----------~----~----~----~------~----~------~--~---