[issue13442] Better support for pipe I/O encoding in subprocess

2011-11-20 Thread Nick Coghlan
Nick Coghlan added the comment: Indeed, I'll add my suggestions over there. -- assignee: docs@python -> resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> subprocess seems to use local 8-bit encoding and gives no choice __

[issue13442] Better support for pipe I/O encoding in subprocess

2011-11-20 Thread STINNER Victor
STINNER Victor added the comment: This issue looks as a duplicate of #6135. -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-li

[issue13442] Better support for pipe I/O encoding in subprocess

2011-11-20 Thread Nick Coghlan
New submission from Nick Coghlan : Currently, pipes in the subprocess module work strictly with bytes I/O, *unless* you set "universal newlines=True". In that case, it assumes an output encoding of UTF-8 for stdout and stderr and applies universal newlines process. When stdin/out/err are remap