Add a description of language environment variales to "How to use Django with Apache and mod_python" doc page
|Reported by:||daybreaker||Owned by:||Jacob|
|Severity:||Keywords:||i18n unicode utf-8 file path apache mod_python mod_wsgi language environment variable|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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 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
Change History (12)
comment:1 Changed 8 years ago by
|milestone:||1.0.3 → 1.1|
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|