[issue28180] sys.getfilesystemencoding() should default to utf-8
Sworddragon
report at bugs.python.org
Sat Jan 7 00:14:19 EST 2017
Sworddragon added the comment:
> What do you mean by "make the C locale"?
I was pointing to the Platform Support Changes of PEP 538.
> I'm not sure of the name of each mode yet.
>
> After having written the "Use Cases" section and especially the
> Mojibake column of results, I consider the option of renaming the
> "UTF-8 mode" to "YOLO mode".
Assumingly YOLO is meant to be negative: Things are whirling in my mind. Eventually you want to save your joker :>
> Using surrogateescape means that you pass through undecodable bytes
> from inputs to stderr which can cause various kinds of bad surprises.
>
> stderr is used to log errors. Getting a new error when trying to log
> an error is kind of annoying.
Hm, what bad surprise/error could appear that would not appear with backslashescape?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28180>
_______________________________________
More information about the Python-bugs-list
mailing list