Lets try again then.
Can you test with:
https://github.com/GrahamDumpleton/mod_wsgi/archive/develop.tar.gz
Thanks.
Graham
On 10/01/2015, at 1:33 AM, Michael Radziej <[email protected]>
wrote:
> modwsgi calls setlocale in response to the options 'lang' or 'locale'.
> This changes the effective locale, but not the corresponding environment
> variables.
>
> When python initializes, it stores the current locale away, then calls
> setlocale(LC_ALL, ""), which sets the locale according to the environment
> (i.e. LC_ALL=POSIX). Then FileSystemDefaultEncoding is set to the effective
> charset encoding, i.e, ASCII (same as ANSI_X3.4-1968). (see python
> sources,Python/pythonrun.c, Py_InitializeEx()) Then it restores the locale.
>
> Is it possible to set the environment and not only the locale? This should
> result in the intended filesystemencoding.
>
> --
> 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.
--
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.