std.unicode [core] std.unicode.from_code pub fn from_code(n: int) -> char ! {none} — n as a Unicode scalar value; none when n is not one — negative, above U+10FFFF, or in the surrogate range U+D800..U+DFFF, which UTF-8 may never encode. std.unicode.code pub fn code(c: char) -> int — The Unicode scalar value of c, as an int — the sc03 contract's char.code, code since sc24. std.unicode.utf8_len pub fn utf8_len(c: char) -> int — The number of bytes c occupies in UTF-8 — 1, 2, 3 or 4. std.unicode.is_ascii pub fn is_ascii(c: char) -> bool — Whether c is an ASCII character, U+0000..U+007F. std.unicode.is_ascii_alpha pub fn is_ascii_alpha(c: char) -> bool — Whether c is an ASCII letter, A..Z or a..z. std.unicode.is_ascii_digit pub fn is_ascii_digit(c: char) -> bool — Whether c is an ASCII decimal digit, 0..9. std.unicode.is_ascii_alnum pub fn is_ascii_alnum(c: char) -> bool — Whether c is an ASCII letter or digit. std.unicode.is_ascii_space pub fn is_ascii_space(c: char) -> bool — Whether c is ASCII whitespace: tab ('\t'), line feed ('\n'), vertical tab (U+000B), form feed (U+000C), carriage return ('\r') or space. std.unicode.is_ascii_upper pub fn is_ascii_upper(c: char) -> bool — Whether c is an ASCII uppercase letter, A..Z. std.unicode.is_ascii_lower pub fn is_ascii_lower(c: char) -> bool — Whether c is an ASCII lowercase letter, a..z.