HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleencoding-0.10.3Haskell2010

Data.Encoding.UTF8

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

  • 1 type
  • Packageencoding-0.10.3
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceUTF8.hs
datadata UTF8
#

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

Instances3Eq, Show, Encoding
  • Eq UTF8Defined in encoding-0.10.3 · Data.Encoding.UTF8
  • Show UTF8Defined in encoding-0.10.3 · Data.Encoding.UTF8
  • Encoding UTF8Defined in encoding-0.10.3 · Data.Encoding.UTF8