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
1,936 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 006554 | unicode/part2/line 17782 NormalizationTest.txt |
à֮ࣔ̕b␊à֮ࣔ̕b␊à֮ࣔ̕b
|
34 B | |
| 006555 | unicode/part2/line 17783 NormalizationTest.txt |
a֮ࣔ̀̕b␊a֮ࣔ̀̕b
|
23 B | |
| 006556 | unicode/part2/line 17784 NormalizationTest.txt |
à֮ࣕ̕b␊à֮ࣕ̕b␊à֮ࣕ̕b
|
34 B | |
| 006557 | unicode/part2/line 17785 NormalizationTest.txt |
a֮ࣕ̀̕b␊a֮ࣕ̀̕b
|
23 B | |
| 006558 | unicode/part2/line 17786 NormalizationTest.txt |
à֮ࣖ̕b␊à֮ࣖ̕b␊à֮ࣖ̕b
|
34 B | |
| 006559 | unicode/part2/line 17787 NormalizationTest.txt |
a֮ࣖ̀̕b␊a֮ࣖ̀̕b
|
23 B | |
| 006560 | unicode/part2/line 17788 NormalizationTest.txt |
à֮ࣗ̕b␊à֮ࣗ̕b␊à֮ࣗ̕b
|
34 B | |
| 006561 | unicode/part2/line 17789 NormalizationTest.txt |
a֮ࣗ̀̕b␊a֮ࣗ̀̕b
|
23 B | |
| 006562 | unicode/part2/line 17790 NormalizationTest.txt |
à֮ࣘ̕b␊à֮ࣘ̕b␊à֮ࣘ̕b
|
34 B | |
| 006563 | unicode/part2/line 17791 NormalizationTest.txt |
a֮ࣘ̀̕b␊a֮ࣘ̀̕b
|
23 B | |
| 006564 | unicode/part2/line 17792 NormalizationTest.txt |
à֮ࣙ̕b␊à֮ࣙ̕b␊à֮ࣙ̕b
|
34 B | |
| 006565 | unicode/part2/line 17793 NormalizationTest.txt |
a֮ࣙ̀̕b␊a֮ࣙ̀̕b
|
23 B | |
| 006566 | unicode/part2/line 17794 NormalizationTest.txt |
à֮ࣚ̕b␊à֮ࣚ̕b␊à֮ࣚ̕b
|
34 B | |
| 006567 | unicode/part2/line 17795 NormalizationTest.txt |
a֮ࣚ̀̕b␊a֮ࣚ̀̕b
|
23 B | |
| 006568 | unicode/part2/line 17796 NormalizationTest.txt |
à֮ࣛ̕b␊à֮ࣛ̕b␊à֮ࣛ̕b
|
34 B | |
| 006569 | unicode/part2/line 17797 NormalizationTest.txt |
a֮ࣛ̀̕b␊a֮ࣛ̀̕b
|
23 B | |
| 006570 | unicode/part2/line 17798 NormalizationTest.txt |
à֮ࣜ̕b␊à֮ࣜ̕b␊à֮ࣜ̕b
|
34 B | |
| 006571 | unicode/part2/line 17799 NormalizationTest.txt |
a֮ࣜ̀̕b␊a֮ࣜ̀̕b
|
23 B | |
| 006572 | unicode/part2/line 17800 NormalizationTest.txt |
à֮ࣝ̕b␊à֮ࣝ̕b␊à֮ࣝ̕b
|
34 B | |
| 006573 | unicode/part2/line 17801 NormalizationTest.txt |
a֮ࣝ̀̕b␊a֮ࣝ̀̕b
|
23 B | |
| 006574 | unicode/part2/line 17802 NormalizationTest.txt |
à֮ࣞ̕b␊à֮ࣞ̕b␊à֮ࣞ̕b
|
34 B | |
| 006575 | unicode/part2/line 17803 NormalizationTest.txt |
a֮ࣞ̀̕b␊a֮ࣞ̀̕b
|
23 B | |
| 006576 | unicode/part2/line 17804 NormalizationTest.txt |
à֮ࣟ̕b␊à֮ࣟ̕b␊à֮ࣟ̕b
|
34 B | |
| 006577 | unicode/part2/line 17805 NormalizationTest.txt |
a֮ࣟ̀̕b␊a֮ࣟ̀̕b
|
23 B | |
| 006578 | unicode/part2/line 17806 NormalizationTest.txt |
à֮࣠̕b␊à֮࣠̕b␊à֮࣠̕b
|
34 B | |
| 006579 | unicode/part2/line 17807 NormalizationTest.txt |
a֮࣠̀̕b␊a֮࣠̀̕b
|
23 B | |
| 006580 | unicode/part2/line 17808 NormalizationTest.txt |
à֮࣡̕b␊à֮࣡̕b␊à֮࣡̕b
|
34 B | |
| 006581 | unicode/part2/line 17809 NormalizationTest.txt |
a֮࣡̀̕b␊a֮࣡̀̕b
|
23 B | |
| 006582 | unicode/part2/line 17810 NormalizationTest.txt |
a᷺̖ࣣ֚b␊a᷺̖ࣣ֚b
|
25 B | |
| 006583 | unicode/part2/line 17811 NormalizationTest.txt |
a᷺ࣣ̖֚b␊a᷺ࣣ̖֚b
|
25 B | |
| 006584 | unicode/part2/line 17812 NormalizationTest.txt |
à֮ࣤ̕b␊à֮ࣤ̕b␊à֮ࣤ̕b
|
34 B | |
| 006585 | unicode/part2/line 17813 NormalizationTest.txt |
a֮ࣤ̀̕b␊a֮ࣤ̀̕b
|
23 B | |
| 006586 | unicode/part2/line 17814 NormalizationTest.txt |
à֮ࣥ̕b␊à֮ࣥ̕b␊à֮ࣥ̕b
|
34 B | |
| 006587 | unicode/part2/line 17815 NormalizationTest.txt |
a֮ࣥ̀̕b␊a֮ࣥ̀̕b
|
23 B | |
| 006588 | unicode/part2/line 17816 NormalizationTest.txt |
a᷺̖ࣦ֚b␊a᷺̖ࣦ֚b
|
25 B | |
| 006589 | unicode/part2/line 17817 NormalizationTest.txt |
a᷺ࣦ̖֚b␊a᷺ࣦ̖֚b
|
25 B | |
| 006590 | unicode/part2/line 17818 NormalizationTest.txt |
à֮ࣧ̕b␊à֮ࣧ̕b␊à֮ࣧ̕b
|
34 B | |
| 006591 | unicode/part2/line 17819 NormalizationTest.txt |
a֮ࣧ̀̕b␊a֮ࣧ̀̕b
|
23 B | |
| 006592 | unicode/part2/line 17820 NormalizationTest.txt |
à֮ࣨ̕b␊à֮ࣨ̕b␊à֮ࣨ̕b
|
34 B | |
| 006593 | unicode/part2/line 17821 NormalizationTest.txt |
a֮ࣨ̀̕b␊a֮ࣨ̀̕b
|
23 B | |
| 006594 | unicode/part2/line 17822 NormalizationTest.txt |
a᷺̖ࣩ֚b␊a᷺̖ࣩ֚b
|
25 B | |
| 006595 | unicode/part2/line 17823 NormalizationTest.txt |
a᷺ࣩ̖֚b␊a᷺ࣩ̖֚b
|
25 B | |
| 006596 | unicode/part2/line 17824 NormalizationTest.txt |
à֮࣪̕b␊à֮࣪̕b␊à֮࣪̕b
|
34 B | |
| 006597 | unicode/part2/line 17825 NormalizationTest.txt |
a֮࣪̀̕b␊a֮࣪̀̕b
|
23 B | |
| 006598 | unicode/part2/line 17826 NormalizationTest.txt |
à֮࣫̕b␊à֮࣫̕b␊à֮࣫̕b
|
34 B | |
| 006599 | unicode/part2/line 17827 NormalizationTest.txt |
a֮࣫̀̕b␊a֮࣫̀̕b
|
23 B | |
| 006600 | unicode/part2/line 17828 NormalizationTest.txt |
à֮࣬̕b␊à֮࣬̕b␊à֮࣬̕b
|
34 B | |
| 006601 | unicode/part2/line 17829 NormalizationTest.txt |
a֮࣬̀̕b␊a֮࣬̀̕b
|
23 B | |
| 006602 | unicode/part2/line 17830 NormalizationTest.txt |
a᷺̖࣭֚b␊a᷺̖࣭֚b
|
25 B | |
| 006603 | unicode/part2/line 17831 NormalizationTest.txt |
a᷺࣭̖֚b␊a᷺࣭̖֚b
|
25 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