[issue21927] BOM appears in stdin when using Powershell
Jason R. Coombs
report at bugs.python.org
Wed Jul 16 01:12:26 CEST 2014
Jason R. Coombs added the comment:
I agree there appears to be an inconsistency in how Powershell handles pipes between child processes and between itself and child processes.
I'm not complaining about Python, but rather trying to find the best practice here.
I'm currently using PYTHONIOENCODING='utf-8-sig' and I've been mostly satisfied with the results. I get the spurious BOM appearing on output, but at least as you say that doesn't seem like a Python problem (at least that has been identified).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21927>
_______________________________________
More information about the Python-bugs-list
mailing list