unicode_normalization::char

Function decompose_cjk_compat_variants

source
pub fn decompose_cjk_compat_variants<F>(c: char, emit_char: F)
where F: FnMut(char),
Expand description

Compute standard-variation decomposition for character.

[Standardized Variation Sequences] are used instead of the standard canonical decompositions, notably for CJK codepoints with singleton canonical decompositions, to avoid losing information. See the Unicode Variation Sequence FAQ and the “Other Enhancements” section of the Unicode 6.3 Release Summary for more information.