TPDFlibBarcodePayloadEncoding
Data Types
Description
TPDFlibBarcodePayloadEncoding selects how barcode payload text is converted to bytes before a 2D symbol such as Data Matrix or PDF417 is encoded.
Syntax
Delphi
type TPDFlibBarcodePayloadEncoding = (bpeSystemANSI, bpeUTF8, bpeUTF8WithECI);Values
| bpeSystemANSI | The payload WideString is converted through the system ANSI code page, preserving the historical byte output. |
|---|---|
| bpeUTF8 | The payload is encoded as UTF-8 bytes, which lets the symbol carry non-ASCII text. |
| bpeUTF8WithECI | Data Matrix and PDF417 symbols carry UTF-8 bytes with an Extended Channel Interpretation (ECI) marker for UTF-8 |
Remarks
Neither mode writes an ECI codeword. The active value is controlled through the BarcodePayloadEncoding property and defaults to bpeSystemANSI.