HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleqrcode-core-0.9.9Haskell2010

Codec.QRCode.Data.TextEncoding

  • 1 type
datadata TextEncoding
#

Constructors

  • Iso8859_1

    Generate segment out of a ISO-8859-1 text, if the text contains chars which aren't in the charset the result will be a failure.

  • Utf8WithoutECI

    Use an UTF-8 encoded text. The reader must do a detection and conversion.

    Please check the readers which should be used if they support this.

  • Utf8WithECI

    This is the correct way to encode UTF-8, but it's reported that not all readers support this.

    Please check the readers which should be used if they support this.

  • Iso8859_1OrUtf8WithoutECI

    Try to encode as Iso8859_1, if that is not possible use Utf8WithoutECI.

  • Iso8859_1OrUtf8WithECI

    Try to encode as Iso8859_1, if that is not possible use Utf8WithECI.