Expand description
Transcoding of UTF-16 XML parts to UTF-8 (ECMA-376 Part 2 allows both encodings for XML parts; every parser in this crate reads UTF-8).
Functionsยง
- is_
utf16_ xml - Whether
byteslook like a UTF-16 XML part; seeutf16_xml_to_utf8. - utf16_
xml_ to_ utf8 - The UTF-8 bytes of
byteswhen they are a UTF-16 XML part (a byte order mark or<?in either byte order), None when they are not. Unpaired surrogates become U+FFFD.