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 vstinner
Recipients vstinner
Date 2009-01-19.23:37:22
SpamBayes Score 4.542047e-05
Marked as misclassified No
Message-id <>
Bug is reproductible with:
 * Python 2.5 : charset utf-8-sig and utf-16 for
 * trunk : charset utf-8-sig, utf-16 and utf-32 for
 * py3k : charset utf-8-sig, utf-16 and utf-32 for open()

With utf-7 or utf-8, no BOM is written.

Note: with UTF-32, the BOM is 4 bytes long (0xff 0xfe 0x00 0x00 on 
little endian) but it's still the character (BOM) \ufeff (little 
Date User Action Args
2009-01-19 23:37:23vstinnersetrecipients: + vstinner
2009-01-19 23:37:23vstinnersetmessageid: <>
2009-01-19 23:37:22vstinnerlinkissue5006 messages
2009-01-19 23:37:22vstinnercreate