-- termination of the character stream, as with other I/O errors.
hSetEncoding,
+ hGetEncoding,
-- ** Unicode encodings
TextEncoding,
import GHC.IORef
import GHC.IO.Exception ( userError )
import GHC.IO.Encoding
-import GHC.Exception
import GHC.Num
import Text.Read
import GHC.Show