STINNER Victor added the comment: Martin Panter added the comment: > Also, should encoding=... or errors=... be an error if > universal_newlines=False (the default)?
Right. But if encoding or errors is used, universal_newlines value should be set automatically to True. For example, I expect Unicode when writing: output = subprocess.call(cmd, stdout=subprocess.PIPE, encoding='utf8').stdout ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6135> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com