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
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 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 | |
| 008784 | unicode/part4/line 20026 NormalizationTest.txt |
ῴ␊ῴ␊ῴ
|
15 B | |
| 008785 | unicode/part4/line 20027 NormalizationTest.txt |
ῴ␊ῴ␊ῴ
|
16 B | |
| 008786 | unicode/part4/line 20028 NormalizationTest.txt |
ῴ␊ῴ␊ῴ
|
16 B | |
| 008787 | unicode/part4/line 20029 NormalizationTest.txt |
ῴ␊ῴ␊ῴ
|
16 B | |
| 008788 | unicode/part4/line 20030 NormalizationTest.txt |
ῷ␊ῷ␊ῷ
|
16 B | |
| 008789 | unicode/part4/line 20031 NormalizationTest.txt |
ῷ␊ῷ␊ῷ
|
16 B | |
| 008790 | unicode/part4/line 20032 NormalizationTest.txt |
שּׁ␊שּׁ
|
12 B | |
| 008791 | unicode/part4/line 20033 NormalizationTest.txt |
שּׁ␊שּׁ
|
12 B | |
| 008792 | unicode/part4/line 20034 NormalizationTest.txt |
שּׂ␊שּׂ
|
12 B | |
| 008793 | unicode/part4/line 20035 NormalizationTest.txt |
שּׂ␊שּׂ
|
12 B | |
| 008794 | unicode/part4/line 20036 NormalizationTest.txt |
␊␊
|
26 B | |
| 008795 | unicode/part4/line 20037 NormalizationTest.txt |
␊␊
|
26 B | |
| 008796 | unicode/part4/line 20038 NormalizationTest.txt |
␊␊
|
26 B | |
| 008797 | unicode/part4/line 20039 NormalizationTest.txt |
␊␊
|
26 B | |
| 008798 | unicode/part4/line 20040 NormalizationTest.txt |
␊␊
|
26 B | |
| 008799 | unicode/part4/line 20041 NormalizationTest.txt |
␊␊
|
26 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