pub fn xml_convert_to_utf8( input: &[u8], hint: Option<&str>, ) -> Result<(Vec<u8>, Option<String>), XmlError>
Convert input to UTF-8. hint is the encoding argument to xmlReadMemory.
input
hint
encoding
xmlReadMemory