qrcode-core-0.9.5: QR code library in pure Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codec.QRCode.Data.TextEncoding

Documentation

data TextEncoding Source #

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.