fn read_utf_scalar(chars: &mut Peekable<Chars<'_>>) -> Result<char, Error>
Expand description
Read a UTF8 codepoint encoded in a string with ‘\uXXXXXXXX’ or \u{XXXXXXXX}’ where X is a single hex digit. There can be 1-8 hex values (X- a nibble) in the encoding (Up to 4 bytes).