Compliance cases
These are the 11,911 inputs a submission must normalize. Each output must match the expected text byte for byte. You can run the suite without reading it, or open any case to see its input and expected output.
NFC as UAX #15 defines it, pinned to Unicode 17.0.0: canonical decomposition, canonical ordering of combining marks, then canonical composition, with Hangul by arithmetic. The decomposition, combining class and composition tables are what make the Wasm big, so size is ranked on the gzipped download. The compliance suite has every line of NormalizationTest.txt, every other assigned code point, every quick-check Maybe and No character in context, targeted cases on exclusions, blocking, Hangul, long runs of marks and 16-byte boundaries, and seeded random text. A UAX #15 reference, ICU and Python agree on every answer.
Run the full compliance suite locally. Replace your-component.wasm
with your compiled component.
Download the suite
curl -fLo normalize_nfc.comply.wasm https://calculated.world/comply/normalize_nfc.wasm
npx qipok your-component.wasm --suite normalize_nfc.comply.wasm
221 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 011724 | generated/1811 Generated |
ĒAóuȩ̇É̈̄ạ̊̈a
|
28 B | |
| 011733 | generated/1820 Generated |
ũ̆̌̊Aē
|
13 B | |
| 011742 | generated/1829 Generated |
ę̃̇̀û̈ĕ̊̀̆Ă̂̊e̊̈̀äŌų̧̇́oÄ̊̄òỤ̌̆
|
70 B | |
| 011751 | generated/1838 Generated |
Ẽ̂ÔÖẼ̈ų̨̆̆á̃̀̌Å̌̃ö̆̈̌Ǫ̃̌̄U̇̈̊ĂĚO̊̃̆Ę̧̣̄ȯ̧ö́ȩ̇̃ȯ̈̆̆Ụ̂̊̇AÒeẹ̣̀ḝ̇
|
142 B | |
| 011760 | generated/1847 Generated |
ēÂą́̌̃Ǎ̊ú̧̈
|
27 B | |
| 011769 | generated/1856 Generated |
Aȯ̧̃̆ụ̧̊ề̈́oāåǎ̀ŏā̈ěạā̌̂̆ò̂Ĕ̈̃Ẹ̈̂Ọ̆̆Ẹ̣̆ȩ̀́̈ū̂ą̈̀ĕ̊ŭ̧̃̈ǒ̀̌
|
136 B | |
| 011777 | generated/1865 Generated |
aȮ̈ǎé̀OOȨ̈Ọ̄ũą̣̈EỌ̄̊
|
44 B | |
| 011786 | generated/1874 Generated |
ẹ̇̄OĚ̄Ă̧̌Ǔ̧Ȩ̣̈ĕ̄ÈAOūo̊o̧Ę̌̆OŮ̧̆̊
|
68 B | |
| 011795 | generated/1883 Generated |
Ě
|
3 B | |
| 011804 | generated/1892 Generated |
e
|
1 B | |
| 011813 | generated/1901 Generated |
eà̆̈
|
8 B | |
| 011822 | generated/1910 Generated |
ů́̂Ụ̄ù̧̌̃Ȩạ̈̂̆Ò̆úU
|
42 B | |
| 011831 | generated/1919 Generated |
Ę̨̂̈Ẹ̃̊EÛŨ̃́̄Ũ̧eŮ
|
38 B | |
| 011840 | generated/1928 Generated |
Ę̄̆̄Òu̇̂̃ouo̊̇Ų̈̀è̂̃̌ǎaų̨̆̄ǓąŮṑa
|
70 B | |
| 011849 | generated/1937 Generated |
ĀUȧ̃̊̈ọ̈úŏ̆̀AoÀ̊̌Ạ̊̈OĀ̄
|
50 B | |
| 011858 | generated/1946 Generated |
ǫ̣̊̀Éõ̆̊ĚU̇
|
25 B | |
| 011867 | generated/1955 Generated |
O̊̃̇̊Ō̌̃à̆̃̃ò̧́ō
|
35 B | |
| 011876 | generated/1964 Generated |
Ǔ̆̄̇å̄Ū̊̊̊Á̌̇̃Á̧̂Ę̌Ą̧̈̌ẽė̌ŏ̀́̇Ě̂̄̇Ẹ̣̣́OaÁ̧̆áȩ̊ąǎ̊̆ǓẠǬ̨̄ó̧Ô̧̧̊
|
144 B | |
| 011885 | generated/1973 Generated |
À̌̄aǪ̃̌UO̊́ûȯ̀ä̈Ų̣̄uā̈ǔ̧̂ÄĒ̌UŎ
|
66 B | |
| 011893 | generated/1982 Generated |
ȩ̧̇Ụ̂oȦ̃̊̆
|
22 B | |
| 011902 | generated/1991 Generated |
ù̧̧Á̧Ě̇̌̌ų̂̃́Ŏ̧̨̂ŭ̧̂ÚĄ̆̃EĄ̂̈ë̂O̊
|
72 B |
Where these rules come from
NFC is defined by UAX #15, Unicode Normalization Forms,
and chapter 3.11 of the Unicode Standard, here pinned to Unicode 17.0.0.
Every answer is agreed by a direct reading of UAX #15 over the pinned data files,
ICU
78.3 and Python’s unicodedata.normalize; the suite’s own tests
add Node.js’s String.prototype.normalize.
Combining marks merge into the character before them, so each case also lists its
code points.
- NormalizationTest.txt — Unicode’s conformance test, the source of the 8,868 unicode cases; each case is one line, its distinct columns on separate lines
- The Unicode Character Database — combining classes, decompositions and composition exclusions, the source of the 157 ucd cases