[issue5170] logging to file + encoding

Vinay Sajip report at bugs.python.org
Tue Apr 21 08:07:34 CEST 2009


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

Can you retry with setting the "encoding" attribute of the file to
"cp1251"? That should work and that should be the appropriate method to
avoid the problem.

test_logging.py in the Python distribution has a test which exercises
Unicode functionality using cp1251, does that test work in your environment?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5170>
_______________________________________


More information about the Python-bugs-list mailing list