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)
commiteee5b61e5ff6f141a778a77997939b72ebb3feb3
tree8b9c292a2eae868dfe30e54e13694601c4d092ef
parent27b66a7cfd77209ab44e4bce8cb2a9bc19a8c0c3
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