Author vstinner
Recipients vstinner
Date 2009-01-19.23:37:22
SpamBayes Score 4.54205e-05
Marked as misclassified No
Message-id <1232408243.22.0.713871931179.issue5006@psf.upfronthosting.co.za>
In-reply-to
Content
Bug is reproductible with:
 * Python 2.5 : charset utf-8-sig and utf-16 for codecs.open()
 * trunk : charset utf-8-sig, utf-16 and utf-32 for codecs.open()
 * 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 
endian).
History
Date User Action Args
2009-01-19 23:37:23vstinnersetrecipients: + vstinner
2009-01-19 23:37:23vstinnersetmessageid: <1232408243.22.0.713871931179.issue5006@psf.upfronthosting.co.za>
2009-01-19 23:37:22vstinnerlinkissue5006 messages
2009-01-19 23:37:22vstinnercreate