Skip to main content

format_codepoint

Function format_codepoint 

Source
pub fn format_codepoint(c: char) -> String
Expand description

Format a Unicode codepoint as a string in the format “U+XXXX” or “U+XXXXX” or “U+XXXXXX”, depending on the value of the codepoint. The output is always uppercase.