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