QREncodeMode

QREncodeMode enumeration

Encoding mode for QR barcodes. It is recommended to Use Auto with CodeTextEncoding = Encoding.UTF8 for Latin symbols or digits and Utf8BOM for Unicode symbols.

public enum QREncodeMode

Values

Name Value Description
Auto 0 Encode codetext as is non-Unicode charset. If there is any Unicode character, the codetext will be encoded with value which is set in CodeTextEncoding.
Bytes 1 Encode codetext as plain bytes. If it detects any Unicode character, the character will be encoded as two bytes, lower byte first.
Utf8BOM 2 Encode codetext with UTF8 encoding with first ByteOfMark character.
Utf16BEBOM 3 Encode codetext with UTF8 encoding with first ByteOfMark character. It can be problems with some barcode scanners.
ECIEncoding 4 Encode codetext with value set in the ECIEncoding property. It can be problems with some old (pre 2006) barcode scanners.
ExtendedCodetext 5 Extended Channel mode which supports FNC1 first position, FNC1 second position and multi ECI modes.

See Also