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 pitrou, sjmachin, vstinner
Date 2008-12-09.02:08:24
SpamBayes Score 7.5771873e-06
Marked as misclassified No
Message-id <1228788507.08.0.853716539366.issue4574@psf.upfronthosting.co.za>
In-reply-to
Content
Ugly patch to fix this issue:
 - add more regression tests for charsets UTF-16*, UTF-32*
 - add mandatory argument "encoding" to io.IncrementalNewlineDecoder 
constructor => BREAK THE API
 - use the encoding the encode "\r"
 - most ulgy hack: strip the BOM for codecs "UTF-16" and "UTF-32" (when 
encoding "\r" to bytes) => I don't know how to encode "\r" without the 
BOM
History
Date User Action Args
2008-12-09 02:08:27vstinnersetrecipients: + vstinner, sjmachin, pitrou
2008-12-09 02:08:27vstinnersetmessageid: <1228788507.08.0.853716539366.issue4574@psf.upfronthosting.co.za>
2008-12-09 02:08:26vstinnerlinkissue4574 messages
2008-12-09 02:08:26vstinnercreate