-- termination of the character stream, as with other I/O errors.
hSetEncoding,
+ hGetEncoding,
-- ** Unicode encodings
TextEncoding,
latin1,
- utf8,
+ utf8, utf8_bom,
utf16, utf16le, utf16be,
utf32, utf32le, utf32be,
localeEncoding,
import GHC.IORef
import GHC.IO.Exception ( userError )
import GHC.IO.Encoding
-import GHC.Exception
import GHC.Num
import Text.Read
import GHC.Show