encoding-0.8.2: A library for various character encodings
Data.Encoding.ISO2022JP
Description
Implements the japanese character encoding ISO 2022-JP. See http://tools.ietf.org/html/rfc1468 for reference.
data ISO2022JP Source #
Constructors
Instances
Methods
(==) :: ISO2022JP -> ISO2022JP -> Bool #
(/=) :: ISO2022JP -> ISO2022JP -> Bool #
showsPrec :: Int -> ISO2022JP -> ShowS #
show :: ISO2022JP -> String #
showList :: [ISO2022JP] -> ShowS #
decodeChar :: ByteSource m => ISO2022JP -> m Char Source #
encodeChar :: ByteSink m => ISO2022JP -> Char -> m () Source #
decode :: ByteSource m => ISO2022JP -> m String Source #
encode :: ByteSink m => ISO2022JP -> String -> m () Source #
encodeable :: ISO2022JP -> Char -> Bool Source #
readEscape :: ByteSource m => ISO2022JP -> m (Maybe DynEncoding) Source #
encodingForChar :: ISO2022JP -> Char -> Maybe (DynEncoding, [Word8]) Source #