Class CharacterEncoding
Character encodings for encoding and decoding barcodes.
Inheritance
Namespace: IronBarCode.Internals
Assembly: IronBarCode.dll
Syntax
public sealed class CharacterEncoding : Enum
CharacterEncoding selects the text encoding IronBarcode uses when turning a string into barcode data, set on BarcodeWriter.DefaultCharacterEncoding. UTF_8 encodes the full Unicode range and is the choice for international text and non-Latin scripts, while ISO_8859_1 (Latin-1) covers Western European characters and stays compatible with readers that expect single-byte input. The writing in Unicode how-to covers encoding non-ASCII content.
BarcodeWriter.DefaultCharacterEncoding = CharacterEncoding.UTF_8;Fields
ISO_8859_1
ISO-8859-1 character encoding.
Declaration
public const CharacterEncoding ISO_8859_1
Field Value
| Type | Description |
|---|---|
| CharacterEncoding |
UTF_8
UTF-8 character encoding.
Declaration
public const CharacterEncoding UTF_8
Field Value
| Type | Description |
|---|---|
| CharacterEncoding |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |