This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients ezio.melotti, jaraco, lemburg, loewis, vstinner
Date 2014-07-08.13:24:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404825862.28.0.655543396067.issue21927@psf.upfronthosting.co.za>
In-reply-to
Content
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'.
History
Date User Action Args
2014-07-08 13:24:22ezio.melottisetrecipients: + ezio.melotti, lemburg, loewis, jaraco, vstinner
2014-07-08 13:24:22ezio.melottisetmessageid: <1404825862.28.0.655543396067.issue21927@psf.upfronthosting.co.za>
2014-07-08 13:24:22ezio.melottilinkissue21927 messages
2014-07-08 13:24:21ezio.melotticreate