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 santoso.wijaya
Recipients Kristian.Benoit, cvrebert, santoso.wijaya, serhiy.storchaka, vstinner
Date 2014-05-19.22:33:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400538787.32.0.551966025115.issue21509@psf.upfronthosting.co.za>
In-reply-to
Content
I think you should use codecs.BOM_UTF8 rather than using hardcoded string "\xef\xbb\xbf" directly.

And why special casing UTF-8 while we're at it? What about other encodings and their BOMs?
History
Date User Action Args
2014-05-19 22:33:07santoso.wijayasetrecipients: + santoso.wijaya, vstinner, cvrebert, serhiy.storchaka, Kristian.Benoit
2014-05-19 22:33:07santoso.wijayasetmessageid: <1400538787.32.0.551966025115.issue21509@psf.upfronthosting.co.za>
2014-05-19 22:33:07santoso.wijayalinkissue21509 messages
2014-05-19 22:33:07santoso.wijayacreate