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 onpon4
Recipients onpon4
Date 2011-01-25.21:25:59
SpamBayes Score 1.1466005e-06
Marked as misclassified No
Message-id <1295990759.68.0.350940217236.issue11010@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-01-25 21:25:59onpon4setrecipients: + onpon4
2011-01-25 21:25:59onpon4setmessageid: <1295990759.68.0.350940217236.issue11010@psf.upfronthosting.co.za>
2011-01-25 21:25:59onpon4linkissue11010 messages
2011-01-25 21:25:59onpon4create