darcs-2.8.5: a distributed, interactive, smart revision control system

Safe HaskellNone
LanguageHaskell98

Encoding

Synopsis

Documentation

encode :: String -> IO ByteString Source

Encode a Unicode String into a ByteString suitable for the current console.

decode :: ByteString -> IO String Source

Convert a ByteString from the console's encoding into a Unicode String.