DICOM PS3.5 2018a - Data Structures and Encoding

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

## J.2 Example of Long Text Value Representation in the Chinese Language Using Unicode

Example J.2-1. Example of Long Text Value Representation in the Chinese Language Using Unicode

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

Specific Character Set:

- (0008,0005) ISO_IR 192

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` `0xe4 0xb8 0xad 0xe6 0x96 0x87` `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` `0xe4 0xb8 0xad 0xe6 0x96 0x87` `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 Unicode code points for the Chinese characters:

- 中 (U+4E2D) 0xe4 0xb8 0xad

- 文 (U+6587) 0xe6 0x96 0x87

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

DICOM PS3.5 2018a - Data Structures and Encoding