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

Moduleqrcode-core-0.9.11Haskell2010

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.