when uploading files with non-ascii chars using a django app running
on apache/mod_wsgi i get this error:
--------
 File 
"/var/www/wsgi/[...]/env/lib/python2.6/site-packages/django/core/files/storage.py",
line 198, in exists
   return os.path.exists(self.path(name))

 File "/usr/lib/python2.6/genericpath.py", line 18, in exists
   st = os.stat(path)

UnicodeEncodeError: 'ascii' codec can't encode characters in position
58-62: ordinal not in range(128)
--------
although it's working as expected when running locally with django
runserver command.

i think it could possibly be related with some env. setting LANG,
LC_ALL or something similar but can't figure out what exactly is
causing this.
any tips/ideas?
is it possible to configure apache/mod_wsgi to use different system
settings for LANG, LC_ALL and similar?

Aljosa Mohorovic

-- 
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.

Reply via email to