[issue6501] Fatal LookupError: unknown encoding: cp0 on Windows embedded startup.
Graham Dumpleton
report at bugs.python.org
Fri Jul 17 13:32:27 CEST 2009
Graham Dumpleton <Graham.Dumpleton at gmail.com> added the comment:
Yes, Apache remaps stdout and stderr to the Apache error log to still
capture anything that errant modules don't log via the Apache error log
functions. In mod_wsgi it replaces sys.stdout and sys.stderr with special
file like objects that redirect via Apache error logging functions. This
though obviously happens after Python first initialises sys.stdout and
sys.stderr.
What would be an appropriate value to set PYTHONIOENCODING to on Windows
as a workaround?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6501>
_______________________________________
More information about the Python-bugs-list
mailing list