Strip any Byte Order Mark (BOM) from the front of decoded streams.
authorBen.Lippmeier@anu.edu.au <unknown>
Wed, 30 Sep 2009 08:42:29 +0000 (08:42 +0000)
committerBen.Lippmeier@anu.edu.au <unknown>
Wed, 30 Sep 2009 08:42:29 +0000 (08:42 +0000)
commitd9310d8b5afbf8ba865187c4a3cac1b3c3e2db6f
tree440248b5c3a2541fdea43593623068700e7d5137
parent389cd8738c0b402ebce69e7a7c2f0cc0eee2300e
Strip any Byte Order Mark (BOM) from the front of decoded streams.
When decoding to UTF-32, Solaris iconv inserts a BOM at the front
of the stream, but Linux iconv doesn't.
GHC/IO/Handle/Internals.hs