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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 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