On 16 November 2010 06:35, Aljoša Mohorović <[email protected]> wrote: > adding this: > --------------------------------------------------- > export LANG='en_US.UTF-8' > export LC_ALL='en_US.UTF-8' > --------------------------------------------------- > to /etc/apache2/envvars fixes my problem. > > related question, i'm just curious, wouldn't it be better to assume > LANG=[SOME_LOCALE].UTF-8 instead of LANG=C?
This is an operating system Apache configuration issue. Normally an operating system does have language and locale set to refer to UTF-8 as the defaults, but for whatever reason some Linux operating systems override this just for Apache and reset it back to what you are seeing. Although you can override it in the envvars file, I believe that there may be an actual configuration file in /etc or init startup scripts which can override this for Apache. If you are using a self installed Apache, obviously that wouldn't apply, unless creating your on /etc init script and it is init system that is doing this for all services. Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en.
