Nick added the comment: Turns out adding "SetEnv PYTHONIOENCODING utf-8" to the end of apache's httpd.conf file fixed the problem for me. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18917> _______________________________________