utf8-string-0.1: Support for reading and writing UTF8 Strings

Portabilityportable
Stabilityexperimental
Maintaineremertens@galois.com

Codec.Binary.UTF8.String

Description

Support for encoding UTF8 Strings to and from [Word8]

Synopsis

Documentation

encode :: String -> [Word8]Source

Encode a Haskell String to a list of Word8 values, in UTF8 format.

decode :: [Word8] -> StringSource

Decode a UTF8 string packed into a list of Word8 values, directly to String