pub fn encode_utf16_be(text: &str, out: &mut Vec<u8>)
Encodes the given str to UTF-16BE. The recommended way to encode text strings, as it supports all of unicode and all major PDF readers support it.
str