write Unicode to sys.out.write without access to sitecustomize.py
Rob Knop
rknop at pobox.com
Fri Aug 28 10:51:09 EDT 2009
I would like to tell the system that it's OK to write Unicode to sys.out
and sys.err. However, I'm doing this in a CGI script where I don't have
access to the system directories, and as such can't use
sys.setdefaultencoding in sitecustomize.py.
Is there a way to make this happen?
--
--Rob Knop
E-mail: rknop at pobox.com
Home Page: http://www.pobox.com/~rknop/
Blog: http://www.sonic.net/~rknop/blog/
More information about the Python-list
mailing list