Data.String.UTF8

hxt-unicode-9.0.2.4: Unicode en-/decoding functions for utf8, iso-latin-* and other encodings

Safe Haskell | Safe
Language | Haskell98

Data.String.UTF8

# Documentation

encode :: [Char] -> [Word8] #

decode :: [Word8] -> ([Char], [(Error, Int)]) #

decodeEmbedErrors :: [Word8] -> [Either (Error, Int) Char] #

encodeOne :: Char -> [Word8] #

decodeOne :: [Word8] -> (Either Error Char, Int, [Word8]) #

data Error #

Instances

Eq Error # |
Methods (==) :: Error -> Error -> Bool # (/=) :: Error -> Error -> Bool #
Show Error # |
Methods showsPrec :: Int -> Error -> ShowS # show :: Error -> String # showList :: [Error] -> ShowS #