pub fn write_char_as_utf8_hex<W: Write>(output: &mut W, ch: char) -> Result<()>