Expand description
Basic crate to return the name for a codepoint as defined by the Unicode standard.
Names are scrapped from the UnicodeData.txt file.
Functions§
- get_
name - Returns the Unicode name for a codepoint if it exists,
"UNKNOWN CHARACTER"
otherwise. Returns the same data as get_name_checked except it will always return some string. - get_
name_ checked - Returns the Unicode name in an Option for a codepoint if it exists, None otherwise. Codepoints inside ranges that don’t have a specific name per codepont will return the name of the range.