SilentGhost <ghost....@runbox.com> added the comment:

> Given that the file created by the logger is utf-8

I don't think this is true. Default file handler created using filename 
argument is opened with encoding None (meaning that it relies on system-default 
encoding, which is on Windows is not utf-8). And it also explains why your 
work-around works, provided you've opened file handler with explicit utf-8 
encoding.

----------
nosy: +SilentGhost, vinay.sajip

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37111>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to