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

Safe Haskell | Safe-Inferred
Language | Haskell98

Data.String.UTF8

# Documentation

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 #

#### Instances

Instances details

Show Error Source # |
Instance details Defined in Data.String.UTF8 Methods showsPrec :: Int -> Error -> ShowS Source # show :: Error -> String Source # showList :: [Error] -> ShowS Source #
Eq Error Source # |
Instance details Defined in Data.String.UTF8 Methods (==) :: Error -> Error -> Bool Source # (/=) :: Error -> Error -> Bool Source #