[issue5170] logging to file + encoding

Vinay Sajip report at bugs.python.org
Fri Feb 6 21:02:53 CET 2009


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

The attached test script and output file appear to show logging working
correctly. The script writes a log message including the Cyrillic text
доброе утро (Good morning) to a CP1251-encoded file, test.log. Opening
this file in a Unicode-aware editor (I used BabelPad,
http://www.babelstone.co.uk/Software/BabelPad.html) appears to show the
Cyrillic characters correctly: see the screenshot at

http://img5.imageshack.us/img5/799/cp1251zw2.png

Marking as pending. Can you give more specifics about your problem?

----------
resolution:  -> works for me
status: open -> pending
Added file: http://bugs.python.org/file12959/encoding-test.zip

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


More information about the Python-bugs-list mailing list