PtypString (0x001F) Value Encoding

ASCII strings are encoded as null-terminated strings.

All Unicode strings are encoded as UTF-8 byte sequences, as specified in [RFC3629], and MUST be terminated by a single 0x00 byte. A string encoding MUST NOT contain a 0x00 byte as part of the string itself. A zero length or empty string MUST NOT be encoded, but MUST be marked as not present in the presenceBitArray.

For more details about the PtypString data type, see [MS-OXCDATA] section 2.11.1.