[issue19846] print() and write() are relying on sys.getfilesystemencoding() instead of sys.getdefaultencoding()

Antoine Pitrou report at bugs.python.org
Sun Dec 8 12:41:37 CET 2013


Antoine Pitrou added the comment:

> If you use a different encoding but only just for filenames, you will
> get mojibake when you pass a filename on the command line or in an
> environment varialble.

That's not what the patch does.

----------

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


More information about the Python-bugs-list mailing list