[issue11010] Unicode BOM left in loaded text
Martin v. Löwis
report at bugs.python.org
Wed Jan 26 01:23:11 CET 2011
Martin v. Löwis <martin at v.loewis.de> added the comment:
Why are you saying this isn't an issue in 2.6.5? It behaves exactly the same as 2.7.1.
In any case, this is not a bug. Pass encoding="utf-8-sig" to io.open to have the signature stripped when the file is read.
----------
resolution: -> invalid
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11010>
_______________________________________
More information about the Python-bugs-list
mailing list