[issue19267] Logging to file does not accept UTF16

STINNER Victor report at bugs.python.org
Tue Oct 15 17:16:25 CEST 2013


STINNER Victor added the comment:

I don't understand the purpose of fs.decode(stream.encoding): why not directly using ufs=u'%s\n"?

@Pawel: Can you please try to replace ufs=fs.decode(stream.encoding) with ufs=u'%s\n'?

----------

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


More information about the Python-bugs-list mailing list