2.2.3.27 UnicodeChars8Text Record (0xB6)
This structure represents attribute or element content.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Length |
Bytes (variable) |
||||||||||||||||||||||||||||||
... |
Length (1 byte): The length in bytes of the UTF-16 [RFC2781]-encoded string.
Bytes (variable): The string encoded as UTF-16 [RFC2781] bytes.
For example, if the length is 6 and bytes = { 0x41, 0x00, 0x42, 0x00, 0x43, 0x00 }, this record is interpreted as the following characters.
-
abc
See Chars8Text Record for notes on escaping of characters.