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
727 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 008734 | unicode/part4/line 19969 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008735 | unicode/part4/line 19970 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008736 | unicode/part4/line 19971 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008737 | unicode/part4/line 19972 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
18 B | |
| 008738 | unicode/part4/line 19973 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
18 B | |
| 008739 | unicode/part4/line 19974 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
18 B | |
| 008740 | unicode/part4/line 19975 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008741 | unicode/part4/line 19976 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008742 | unicode/part4/line 19977 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008743 | unicode/part4/line 19978 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008744 | unicode/part4/line 19979 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008745 | unicode/part4/line 19980 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008746 | unicode/part4/line 19981 NormalizationTest.txt |
ᾮ␊ᾮ␊ᾮ
|
18 B | |
| 008747 | unicode/part4/line 19982 NormalizationTest.txt |
ᾮ␊ᾮ␊ᾮ
|
18 B | |
| 008748 | unicode/part4/line 19983 NormalizationTest.txt |
ᾮ␊ᾮ␊ᾮ
|
20 B | |
| 008749 | unicode/part4/line 19984 NormalizationTest.txt |
ᾮ␊ᾮ␊ᾮ
|
20 B | |
| 008750 | unicode/part4/line 19985 NormalizationTest.txt |
ᾮ␊ᾮ␊ᾮ
|
20 B | |
| 008751 | unicode/part4/line 19986 NormalizationTest.txt |
ᾮ␊ᾮ␊ᾮ
|
20 B | |
| 008752 | unicode/part4/line 19987 NormalizationTest.txt |
ᾯ␊ᾯ␊ᾯ
|
18 B | |
| 008753 | unicode/part4/line 19988 NormalizationTest.txt |
ᾯ␊ᾯ␊ᾯ
|
18 B | |
| 008754 | unicode/part4/line 19989 NormalizationTest.txt |
ᾯ␊ᾯ␊ᾯ
|
20 B | |
| 008755 | unicode/part4/line 19990 NormalizationTest.txt |
ᾯ␊ᾯ␊ᾯ
|
20 B | |
| 008756 | unicode/part4/line 19991 NormalizationTest.txt |
ᾯ␊ᾯ␊ᾯ
|
20 B | |
| 008757 | unicode/part4/line 19992 NormalizationTest.txt |
ᾲ␊ᾲ␊ᾲ
|
16 B | |
| 008758 | unicode/part4/line 19993 NormalizationTest.txt |
ᾲ␊ᾲ␊ᾲ
|
16 B | |
| 008759 | unicode/part4/line 19994 NormalizationTest.txt |
ᾲ␊ᾲ␊ᾲ
|
16 B | |
| 008760 | unicode/part4/line 19995 NormalizationTest.txt |
ᾴ␊ᾴ␊ᾴ
|
15 B | |
| 008761 | unicode/part4/line 19996 NormalizationTest.txt |
ᾴ␊ᾴ␊ᾴ
|
16 B | |
| 008762 | unicode/part4/line 19997 NormalizationTest.txt |
ᾴ␊ᾴ␊ᾴ
|
16 B | |
| 008763 | unicode/part4/line 19998 NormalizationTest.txt |
ᾴ␊ᾴ␊ᾴ
|
16 B | |
| 008764 | unicode/part4/line 19999 NormalizationTest.txt |
ᾷ␊ᾷ␊ᾷ
|
16 B | |
| 008765 | unicode/part4/line 20000 NormalizationTest.txt |
ᾷ␊ᾷ␊ᾷ
|
16 B | |
| 008766 | unicode/part4/line 20001 NormalizationTest.txt |
ῂ␊ῂ␊ῂ
|
16 B | |
| 008767 | unicode/part4/line 20002 NormalizationTest.txt |
ῂ␊ῂ␊ῂ
|
16 B | |
| 008768 | unicode/part4/line 20003 NormalizationTest.txt |
ῂ␊ῂ␊ῂ
|
16 B | |
| 008769 | unicode/part4/line 20004 NormalizationTest.txt |
ῄ␊ῄ␊ῄ
|
15 B | |
| 008770 | unicode/part4/line 20005 NormalizationTest.txt |
ῄ␊ῄ␊ῄ
|
16 B | |
| 008771 | unicode/part4/line 20006 NormalizationTest.txt |
ῄ␊ῄ␊ῄ
|
16 B | |
| 008772 | unicode/part4/line 20007 NormalizationTest.txt |
ῄ␊ῄ␊ῄ
|
16 B | |
| 008773 | unicode/part4/line 20008 NormalizationTest.txt |
ῇ␊ῇ␊ῇ
|
16 B | |
| 008774 | unicode/part4/line 20009 NormalizationTest.txt |
ῇ␊ῇ␊ῇ
|
16 B | |
| 008775 | unicode/part4/line 20010 NormalizationTest.txt |
ῒ␊ῒ␊ῒ
|
15 B | |
| 008776 | unicode/part4/line 20011 NormalizationTest.txt |
ῒ␊ῒ␊ῒ
|
15 B | |
| 008777 | unicode/part4/line 20016 NormalizationTest.txt |
ῗ␊ῗ␊ῗ
|
15 B | |
| 008778 | unicode/part4/line 20017 NormalizationTest.txt |
ῢ␊ῢ␊ῢ
|
15 B | |
| 008779 | unicode/part4/line 20018 NormalizationTest.txt |
ῢ␊ῢ␊ῢ
|
15 B | |
| 008780 | unicode/part4/line 20022 NormalizationTest.txt |
ῧ␊ῧ␊ῧ
|
15 B | |
| 008781 | unicode/part4/line 20023 NormalizationTest.txt |
ῲ␊ῲ␊ῲ
|
16 B | |
| 008782 | unicode/part4/line 20024 NormalizationTest.txt |
ῲ␊ῲ␊ῲ
|
16 B | |
| 008783 | unicode/part4/line 20025 NormalizationTest.txt |
ῲ␊ῲ␊ῲ
|
16 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