Constructors
UTF8Very forgiving decoding mechanism, accepts everything that it can make any sense of.
UTF8StrictMore strict decoding, doesn't accept sequences that have a too long representation and checks bits that aren't used in the decoding
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11
Moduleencoding-0.10.3Haskell2010
This module implements UTF-8 encoding and decoding as in RFC 3629. See http://en.wikipedia.org/wiki/UTF-8 for more information.
UTF8Very forgiving decoding mechanism, accepts everything that it can make any sense of.
UTF8StrictMore strict decoding, doesn't accept sequences that have a too long representation and checks bits that aren't used in the decoding