Skip to main content

TABLE

Static TABLE 

Source
static TABLE: [u16; 96]
Expand description

Entries start from U+00A0 NO-BREAK SPACE. If the character is always its own normalization, the value in the table is 0. If the character has a compatibility decompositons, the value in the table is the index into COMPATIBILITY_DECOMPOSITIONS shifted left by two and the length of the subslice of COMPATIBILITY_DECOMPOSITIONS in the low 2 bits. This means that the high half is zero. Otherwise, the high 8 bits are the first character of the canonical decomposition and the low 8 bits are the offset that needs to be added to U+0300 to get the second character of the canonical decomposition.