Aspose.Barcode for PHP via Java  20.2
Aspose.Barcode for PHP via Java Generation and Recognition API docs
QREncodeMode Class Reference

Public Attributes

const AUTO = "0"
 
const BYTES = "1"
 
const UTF_8_BOM = "2"
 
const UTF_16_BEBOM = "3"
 

Detailed Description

Encoding mode for QR barcodes. It is recomended to Use AUTO with CodeTextEncoding = Encoding.UTF8 for latin symbols or digits and UTF_8_BOM for unicode symbols.

Member Data Documentation

◆ AUTO

const 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

const BYTES = "1"

Encode codetext as plain bytes. If it detects any unicode character, the character will be encoded as two bytes, lower byte first.

◆ UTF_16_BEBOM

const UTF_16_BEBOM = "3"

Encode codetext with UTF8 encoding with first ByteOfMark character. It can be problems with some barcode scaners.

◆ UTF_8_BOM

const UTF_8_BOM = "2"

Encode codetext with UTF8 encoding with first ByteOfMark character.