Module char

Source
Expand description

Methods for composing and decomposing characters.

Functionsยง

canonical_combining_class
Look up the canonical combining class for a codepoint.
compose
Compose two characters into a single character, if possible. See Unicode Standard Annex #15 for more information.
decompose_canonical
Compute canonical Unicode decomposition for character. See Unicode Standard Annex #15 for more information.
decompose_cjk_compat_variants
Compute standard-variation decomposition for character.
decompose_compatible
Compute canonical or compatible Unicode decomposition for character. See Unicode Standard Annex #15 for more information.
is_combining_mark
Return whether the given character is a combining mark (General_Category=Mark)
is_public_assigned
Return whether the given character is assigned (General_Category != Unassigned) and not Private-Use (General_Category != Private_Use), in the supported version of Unicode.