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 yang
Recipients yang
Date 2009-10-15.20:55:39
SpamBayes Score 0.0015843518
Marked as misclassified No
Message-id <1255640141.97.0.741235595608.issue7145@psf.upfronthosting.co.za>
In-reply-to
Content
When I call s.makefile('r',encoding='utf-16').read(), this expects a BOM, 
but s.makefile('w',encoding='utf-16').write('hello') doesn't produce it. 
This is asymmetric.

BTW is there a way to prevent the reading file from expecting a BOM?
History
Date User Action Args
2009-10-15 20:55:42yangsetrecipients: + yang
2009-10-15 20:55:41yangsetmessageid: <1255640141.97.0.741235595608.issue7145@psf.upfronthosting.co.za>
2009-10-15 20:55:40yanglinkissue7145 messages
2009-10-15 20:55:39yangcreate