machines-encoding-0: Transcode encodings with machines.

Safe HaskellNone
LanguageHaskell2010

Data.Machines.Encoding.Text

Synopsis

Documentation

decodeLatin1 :: Process ByteString Text Source #

Convert a stream of ByteStrings to a stream of Text - by transorming the bytes from the Latin1 encoding.

encodeUtf8 :: Process Text ByteString Source #

Convert a stream of Text to a stream of ByteStrings - by transorming the symbols to the UTF-8 encoding.

decodeUtf8 :: Process ByteString Text Source #

Convert a stream of ByteStrings to a stream of Text - by transorming the bytes from the UTF-8 encoding.