Message222559
| 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:22 | ezio.melotti | set | recipients:
+ ezio.melotti, lemburg, loewis, jaraco, vstinner |
| 2014年07月08日 13:24:22 | ezio.melotti | set | messageid: <1404825862.28.0.655543396067.issue21927@psf.upfronthosting.co.za> |
| 2014年07月08日 13:24:22 | ezio.melotti | link | issue21927 messages |
| 2014年07月08日 13:24:21 | ezio.melotti | create |
|