Data.String.UTF8
encode :: [Char] -> [Word8] Source #
decode :: [Word8] -> ([Char], [(Error, Int)]) Source #
decodeEmbedErrors :: [Word8] -> [Either (Error, Int) Char] Source #
encodeOne :: Char -> [Word8] Source #
decodeOne :: [Word8] -> (Either Error Char, Int, [Word8]) Source #
data Error Source #
Defined in Data.String.UTF8
Methods
showsPrec :: Int -> Error -> ShowS #
show :: Error -> String #
showList :: [Error] -> ShowS #
(==) :: Error -> Error -> Bool #
(/=) :: Error -> Error -> Bool #