Ezio Melotti added the comment:

I would argue that adding the BOM is a Powershell issue, and I'm not sure 
Python should do anything about it.
There are probably cases where people expects the BOM to be received by python, 
so stripping it is probably not an option.
As for detecting, it should happen automatically only if sys.stdin.encoding is 
set to 'utf-8-bom', but, by default, Python 3 uses 'UTF-8'.

----------
nosy: +lemburg, loewis
type:  -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21927>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to