New submission from onpon4 <onp...@yahoo.com>: This is for Python 2.7.1. It isn't an issue on 2.6.5 and I haven't tested it on 3.1.
Quite simply, the Unicode BOM (unichr(65279)) is included in the text loaded from a UTF-8 text file. This can cause issues in some cases, but is easily worked around by calling "s.strip(unichr(65279))" on the first line of loaded text. ---------- components: IO, Unicode messages: 127055 nosy: onpon4 priority: normal severity: normal status: open title: Unicode BOM left in loaded text type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11010> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com