stdout/stderr disabled when debugging in pythonwin (somehow i disabled it...)
craig curtin
curtin at ubsw.com
Tue Mar 5 18:29:47 EST 2002
i may have found the problem.
i'm doing some WebDAV stuff and getting large quantities
of XML data back from an Exchange 2000 server.
well when i got the resultant data. sometimes the data
had characters above 128.
i did a search and decided to try this in my code:
>>> import sys
>>> reload(sys)
>>> sys.setdefaultencoding('mbcs')
and i *seemed* to fix the problem... but blew away my stdout/stderr
in the mean time.
craig
More information about the Python-list
mailing list