What does sys.getfilesystemencoding() return?  Both from the python
interactive command line, and from within your web app.

Under most (modern) Linux's it should return 'UTF-8'.  However if it
returns 'ascii' (which is most likely the fault of your Apache config,
not modwsgi), then you'll have to explicitly do the encoding, e.g.,

   os.mkdir( newDir.encode('UTF-8') )


Under my setup (Fedora linux) running in modwsgi seems just fine with
Unicode path names.
-- 
Deron Meranda
http://deron.meranda.us/

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