DICOM PS3.5 2016c - Data Structures and Encoding

J.4 Example of Long Text Value Representation in the Chinese Language Using GB18030
Prev | J Character Sets and Person Name Value Representation using Unicode UTF-8, GB18030 and GBK (Informative) | Next

## J.4 Example of Long Text Value Representation in the Chinese Language Using GB18030

Example J.4-1. Example of Long Text Value Representation in the Chinese Language Using GB18030

The following is an example of a Long Text value representation that includes ASCII and GB18030 character set.

Specific Character Set:

- (0008,0005) GB18030

Text string:

- The first line includes 中文.

  The second line includes 中文, too.

  The third line.

Character encoded representation is:

- `0x54 0x68 0x65 0x20 0x66 0x69 0x72 0x73 0x74 0x20 0x6c 0x69 0x6e 0x65 0x20 0x69 0x6e 0x63 0x6c 0x75 0x64 0x65 0x73` `0xd6 0xd0 0xce 0xc4` `0x2e 0x0d 0x0a 0x54 0x68 0x65 0x20 0x73 0x65 0x63 0x6f 0x6e 0x64 0x20 0x6c 0x69 0x6e 0x65 0x20 0x69 0x6e 0x63 0x6c 0x75 0x64 0x65 0x73` `0xd6 0xd0 0xce 0xc4` `0x2c 0x20 0x74 0x6f 0x6f 0x2e 0x0d 0x0a 0x54 0x68 0x65 0x20 0x74 0x68 0x69 0x72 0x64 0x20 0x6c 0x69 0x6e 0x65 0x2e 0x0d 0x0a`

### Note

The underlined byte codes correspond to the GB18030 encodings for the Chinese characters used:

- 中 (D6D0 in GB18030)

- 文 (CEC4 in GB18030)

Prev | Up | Next
J.3 Example of Person Name Value Representation in the Chinese Language Using GB18030 | Home | J.5 Person Name Value Representation in Other Languages Using Unicode

DICOM PS3.5 2016c - Data Structures and Encoding