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
222 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 011722 | generated/1809 Generated |
ාᄅ㡼ῷ
|
13 B | |
| 011731 | generated/1818 Generated |
יὁᄏ𑖯ꥠෞЀᆵ
|
23 B | |
| 011740 | generated/1827 Generated |
A不ᄉ菜
|
11 B | |
| 011749 | generated/1836 Generated |
ἤ😀ǍᅵⷽA
|
16 B | |
| 011758 | generated/1845 Generated |
ೊ̸ǒи糒ひὩЧᄋ𑤵שׂ
|
34 B | |
| 011767 | generated/1854 Generated |
ᅰ栗𑍇ēṚぜ𞣖ᷩ
|
25 B | |
| 011776 | generated/1863 Generated |
αẰ
|
5 B | |
| 011784 | generated/1872 Generated |
␀ἂ␀𢡊̧͂≽ൗᆪᆽ𑒽
|
31 B | |
| 011793 | generated/1881 Generated |
уᅯὰ̤ÓֵЀà諾ᄐケᄎ␊
|
39 B | |
| 011802 | generated/1890 Generated |
⃥ᄁἛ一ᬾാᾂᄆ
|
24 B | |
| 011811 | generated/1899 Generated |
iᄄ育ᆻ
|
11 B | |
| 011820 | generated/1908 Generated |
l𑽁̈́͂ἡe ᆲ雃ৗā
|
27 B | |
| 011829 | generated/1917 Generated |
ᄉṚᅫͅḶE࢚ٔaⷴ𑍬각丹␊иA
|
38 B | |
| 011838 | generated/1926 Generated |
ᄄᾖᾃי̇가iᄊu ⃩ᅟ
|
28 B | |
| 011847 | generated/1935 Generated |
😀ᆧ蜎᪷流ç
|
19 B | |
| 011856 | generated/1944 Generated |
ᇀᅯώ嗢
|
12 B | |
| 011865 | generated/1953 Generated |
𑰿ힰ一ƠًE᷑浩慄ὧ
|
36 B | |
| 011874 | generated/1962 Generated |
Ž̮࣎ţ
|
9 B | |
| 011883 | generated/1971 Generated |
േक
|
6 B | |
| 011891 | generated/1980 Generated |
်ἡЧ
|
8 B | |
| 011900 | generated/1989 Generated |
f里ᆨα
|
9 B | |
| 011909 | generated/1998 Generated |
ാ裸嬾Aᄉ一ўĽٕ̄Ἃ
|
32 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