 | utf8-string-0.3.3: Support for reading and writing UTF8 Strings | Contents | Index |
|
| Codec.Binary.UTF8.String | | Portability | portable | | Stability | experimental | | Maintainer | emertens@galois.com |
|
|
|
| Description |
| Support for encoding UTF8 Strings to and from [Word8]
|
|
| Synopsis |
|
|
|
| Documentation |
|
| encode :: String -> [Word8] |
| Encode a Haskell String to a list of Word8 values, in UTF8 format.
|
|
| decode :: [Word8] -> String |
| Decode a UTF8 string packed into a list of Word8 values, directly to String
|
|
| encodeString :: String -> String |
| Encode a string using encode and store the result in a String.
|
|
| decodeString :: String -> String |
| Decode a string using decode using a String as input.
| This is not safe but it is necessary if UTF-8 encoded text
| has been loaded into a String prior to being decoded.
|
|
| Produced by Haddock version 0.8 |