encoding-0.1: A library for various character encodingsContentsIndex
System.IO.Encoding
Synopsis
getSystemEncoding :: IO DynEncoding
hPutStr :: Encoding e => e -> Handle -> String -> IO ()
hGetContents :: Encoding e => e -> Handle -> IO String
Documentation
getSystemEncoding :: IO DynEncoding
Returns the encoding used on the current system.
hPutStr :: Encoding e => e -> Handle -> String -> IO ()
Like the normal hPutStr, but encodes the output using an encoding.
hGetContents :: Encoding e => e -> Handle -> IO String
Like the normal hGetContents, but decodes the input using an encoding.
Produced by Haddock version 0.8