I hit the same bug when running a Python/Django site with mod_wsgi.
Django tried to os.stat() a unicode filepath with u'\xc4' in it and
failed. That's indeed what Python does when run with LANG=C.
My fix was to add
ENV=env -i LANG=en_US.UTF-8 PATH=/usr/local/bin:/usr/bin:/bin
in
Hi,
On Thursday 15 January 2009, Josef Spillner wrote:
de_DE.UTF-8. Even when running
/etc/init.d/apache start
from the interactive console, the LANG value in
/proc/apachemainpid/environ was set to C. Neither in the startup
scripts nor in the httpd sources I can find any reference to this,
Package: apache2-mpm-prefork
Version: 2.2.9-10+lenny1
Severity: normal
Running Apache with mod_dav and mod_svn gave me the infamous:
svn: Can't convert string from 'UTF-8' to native encoding:
when trying to access an SVN directory deliberately created with cyrillic
letters in UTF-8 encoding.
3 matches
Mail list logo