HanXinEncodeMode

HanXinEncodeMode enumeration

Han Xin Code encoding mode. It is recommended to use Auto with ASCII / Chinese characters or Unicode for Unicode characters.

Members

Member name Description
AUTO Sequence of Numeric, Text, ECI, Binary Bytes and 4 GB18030 modes changing automatically.
BINARY Binary byte mode encodes binary data in any form and encodes them in their binary byte. Every byte in
Binary Byte mode is represented by 8 bits.
ECI Extended Channel Interpretation (ECI) mode
UNICODE Unicode mode designs a way to represent any text data reference to UTF8 encoding/charset in Han Xin Code.
URI URI mode indicates the data represented in Han Xin Code is Uniform Resource Identifier (URI)
reference to RFC 3986.
EXTENDED Extended mode allow combinations of internal modes: Auto, Binary, Text, Numeric, URI, Unicode, ECI, Common Chinese Region One,
Common Chinese Region Two, GB18030 Two Byte, GB18030 Four Byte.
Codetext can be built manually with prefixes and doubled backslashes, e.g.: @"\auto:abc\000009:ΑΒΓΔΕ\auto:ab\c” or using the HanXinExtCodetextBuilder.
If the codetext contains an ECI fragment, then only the following modes can be in that codetext after ECI fragment:
Auto, Binary, Text, Numeric, URI, ECI.

See Also