xim_ctext
pub fn compound_text_to_utf8(bytes: &[u8]) -> Result<&str, ()>
Decoding COMPOUND_TEXT to utf8 only works with utf8 escaped text