[issue15595] subprocess.Popen(universal_newlines=True) does not work for certain locales

Chris Jerdonek report at bugs.python.org
Thu Aug 9 00:07:05 CEST 2012


Chris Jerdonek added the comment:

> How do you set the locale encoding to UTF-16? Do you mean UTF-16, UTF-16-LE or UTF-16-BE?

I confirmed that the issue occurs for all of these.  For testing purposes, you can do--

locale.getpreferredencoding = lambda do_setlocale: 'utf-16'

----------

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


More information about the Python-bugs-list mailing list