[issue15595] subprocess.Popen(universal_newlines=True) does not work for certain locales
STINNER Victor
report at bugs.python.org
Thu Aug 9 02:37:21 CEST 2012
STINNER Victor added the comment:
> Would you like me to add tests for UTF-16-LE, etc. (via a helper test method), or will UTF-16 alone suffice?
You can use a loop insteadd of an helper function.
I fail to see other encoding having the same issue, except the UTF-32 family (utf-32, utf-32-le, utf-32-be).
I don't think that writing a test for the 6 codecs is required, you can use utf-16 and utf-32-be. So you test without BOM and with BOM, and utf-16 and utf-32.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15595>
_______________________________________
More information about the Python-bugs-list
mailing list