[issue27781] Change sys.getfilesystemencoding() on Windows to UTF-8

STINNER Victor report at bugs.python.org
Wed Aug 17 06:32:19 EDT 2016


STINNER Victor added the comment:

Would it be acceptable for you to add a new option to switch to UTF-8 in Python 3.6, and discuss later if it's ok to enable it by default?

In the python-ideas threed, you wrote that Windows allow surrogate characters in filenames, but not the UTF-8/strict Python codec. Would it make sense to use UTF-8/surrogatepass codec to avoid any unicode error?

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list