encoding-0.8.2: A library for various character encodings

Safe HaskellNone
LanguageHaskell98

Data.Encoding.UTF8

Description

This module implements UTF-8 encoding and decoding as in RFC 3629. See http://en.wikipedia.org/wiki/UTF-8 for more information.

Documentation

data UTF8 Source #

Constructors

UTF8

Very forgiving decoding mechanism, accepts everything that it can make any sense of.

UTF8Strict

More strict decoding, doesn't accept sequences that have a too long representation and checks bits that aren't used in the decoding

Instances