[issue6135] subprocess seems to use local encoding and give no choice
Nick Coghlan
report at bugs.python.org
Tue Sep 6 11:52:58 EDT 2016
Nick Coghlan added the comment:
Ah, excellent point about "encoding='utf-8'" already being a less cryptic replacement for universal_newlines=True, so consider my questions withdrawn :)
As far as universal_newlines goes, that needs to remain documented for the sake of folks reading code that uses it, and folks that need compatibility with older versions, but +1 for recommending specifying an encoding over using that flag for new 3.6+ code.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6135>
_______________________________________
More information about the Python-bugs-list
mailing list