Hello, I'm running our Django application on mod_wsgi on a SLES11 SP3 installation. SLES' apache2 doesn't have an envvars file and also resets all environment variables before start so I used to patch its init.d script to include LANG and LC_ALL in the main process.
So far I'm using mod_wsgi 3.3 but I'm about to upgrade to 4.2.5, so I figured I could throw that patch away and use lang= and locale= parameters to WSGIDaemonProcess. I've added "lang=de_DE.UTF-8 locale=de_DE.UTF-8" to the WSGIDaemonProcess line, however, it doesn't seem to work at all. What I know: 1. Options get accepted by mod_wsgi (no error on startup) 2. Debug logging works (I'm getting mod_wsgi messages with debug level in the apache error log if LogLevel is set to "debug") 3. I do NOT get any logs about activated locale and lang settings (which should be there in debug log level according to https://github.com/GrahamDumpleton/mod_wsgi/blob/4.2.5/src/server/mod_wsgi.c#L8860) 4. Locale settings do NOT work (application crashes where files with UTF-8 encoded filenames are accessed) I tried reading the mod_wsgi code, which doesn't seem to be broken, but I still don't see how 1, 2 and 3 are possible simultaneously. Is there something I might be missing? I'm thankful for any ideas. Nikolai. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
