| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Encoding
- encode :: String -> IO ByteString
- decode :: ByteString -> IO String
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.