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 |
|---|---|---|---|---|
| 007754 | unicode/part2/line 18982 NormalizationTest.txt |
à֮𞀉̕b␊à֮𞀉̕b␊à֮𞀉̕b
|
37 B | |
| 007755 | unicode/part2/line 18983 NormalizationTest.txt |
a֮𞀉̀̕b␊a֮𞀉̀̕b
|
25 B | |
| 007756 | unicode/part2/line 18984 NormalizationTest.txt |
à֮𞀊̕b␊à֮𞀊̕b␊à֮𞀊̕b
|
37 B | |
| 007757 | unicode/part2/line 18985 NormalizationTest.txt |
a֮𞀊̀̕b␊a֮𞀊̀̕b
|
25 B | |
| 007758 | unicode/part2/line 18986 NormalizationTest.txt |
à֮𞀋̕b␊à֮𞀋̕b␊à֮𞀋̕b
|
37 B | |
| 007759 | unicode/part2/line 18987 NormalizationTest.txt |
a֮𞀋̀̕b␊a֮𞀋̀̕b
|
25 B | |
| 007760 | unicode/part2/line 18988 NormalizationTest.txt |
à֮𞀌̕b␊à֮𞀌̕b␊à֮𞀌̕b
|
37 B | |
| 007761 | unicode/part2/line 18989 NormalizationTest.txt |
a֮𞀌̀̕b␊a֮𞀌̀̕b
|
25 B | |
| 007762 | unicode/part2/line 18990 NormalizationTest.txt |
à֮𞀍̕b␊à֮𞀍̕b␊à֮𞀍̕b
|
37 B | |
| 007763 | unicode/part2/line 18991 NormalizationTest.txt |
a֮𞀍̀̕b␊a֮𞀍̀̕b
|
25 B | |
| 007764 | unicode/part2/line 18992 NormalizationTest.txt |
à֮𞀎̕b␊à֮𞀎̕b␊à֮𞀎̕b
|
37 B | |
| 007765 | unicode/part2/line 18993 NormalizationTest.txt |
a֮𞀎̀̕b␊a֮𞀎̀̕b
|
25 B | |
| 007766 | unicode/part2/line 18994 NormalizationTest.txt |
à֮𞀏̕b␊à֮𞀏̕b␊à֮𞀏̕b
|
37 B | |
| 007767 | unicode/part2/line 18995 NormalizationTest.txt |
a֮𞀏̀̕b␊a֮𞀏̀̕b
|
25 B | |
| 007768 | unicode/part2/line 18996 NormalizationTest.txt |
à֮𞀐̕b␊à֮𞀐̕b␊à֮𞀐̕b
|
37 B | |
| 007769 | unicode/part2/line 18997 NormalizationTest.txt |
a֮𞀐̀̕b␊a֮𞀐̀̕b
|
25 B | |
| 007770 | unicode/part2/line 18998 NormalizationTest.txt |
à֮𞀑̕b␊à֮𞀑̕b␊à֮𞀑̕b
|
37 B | |
| 007771 | unicode/part2/line 18999 NormalizationTest.txt |
a֮𞀑̀̕b␊a֮𞀑̀̕b
|
25 B | |
| 007772 | unicode/part2/line 19000 NormalizationTest.txt |
à֮𞀒̕b␊à֮𞀒̕b␊à֮𞀒̕b
|
37 B | |
| 007773 | unicode/part2/line 19001 NormalizationTest.txt |
a֮𞀒̀̕b␊a֮𞀒̀̕b
|
25 B | |
| 007774 | unicode/part2/line 19002 NormalizationTest.txt |
à֮𞀓̕b␊à֮𞀓̕b␊à֮𞀓̕b
|
37 B | |
| 007775 | unicode/part2/line 19003 NormalizationTest.txt |
a֮𞀓̀̕b␊a֮𞀓̀̕b
|
25 B | |
| 007776 | unicode/part2/line 19004 NormalizationTest.txt |
à֮𞀔̕b␊à֮𞀔̕b␊à֮𞀔̕b
|
37 B | |
| 007777 | unicode/part2/line 19005 NormalizationTest.txt |
a֮𞀔̀̕b␊a֮𞀔̀̕b
|
25 B | |
| 007778 | unicode/part2/line 19006 NormalizationTest.txt |
à֮𞀕̕b␊à֮𞀕̕b␊à֮𞀕̕b
|
37 B | |
| 007779 | unicode/part2/line 19007 NormalizationTest.txt |
a֮𞀕̀̕b␊a֮𞀕̀̕b
|
25 B | |
| 007780 | unicode/part2/line 19008 NormalizationTest.txt |
à֮𞀖̕b␊à֮𞀖̕b␊à֮𞀖̕b
|
37 B | |
| 007781 | unicode/part2/line 19009 NormalizationTest.txt |
a֮𞀖̀̕b␊a֮𞀖̀̕b
|
25 B | |
| 007782 | unicode/part2/line 19010 NormalizationTest.txt |
à֮𞀗̕b␊à֮𞀗̕b␊à֮𞀗̕b
|
37 B | |
| 007783 | unicode/part2/line 19011 NormalizationTest.txt |
a֮𞀗̀̕b␊a֮𞀗̀̕b
|
25 B | |
| 007784 | unicode/part2/line 19012 NormalizationTest.txt |
à֮𞀘̕b␊à֮𞀘̕b␊à֮𞀘̕b
|
37 B | |
| 007785 | unicode/part2/line 19013 NormalizationTest.txt |
a֮𞀘̀̕b␊a֮𞀘̀̕b
|
25 B | |
| 007786 | unicode/part2/line 19014 NormalizationTest.txt |
à֮𞀛̕b␊à֮𞀛̕b␊à֮𞀛̕b
|
37 B | |
| 007787 | unicode/part2/line 19015 NormalizationTest.txt |
a֮𞀛̀̕b␊a֮𞀛̀̕b
|
25 B | |
| 007788 | unicode/part2/line 19016 NormalizationTest.txt |
à֮𞀜̕b␊à֮𞀜̕b␊à֮𞀜̕b
|
37 B | |
| 007789 | unicode/part2/line 19017 NormalizationTest.txt |
a֮𞀜̀̕b␊a֮𞀜̀̕b
|
25 B | |
| 007790 | unicode/part2/line 19018 NormalizationTest.txt |
à֮𞀝̕b␊à֮𞀝̕b␊à֮𞀝̕b
|
37 B | |
| 007791 | unicode/part2/line 19019 NormalizationTest.txt |
a֮𞀝̀̕b␊a֮𞀝̀̕b
|
25 B | |
| 007792 | unicode/part2/line 19020 NormalizationTest.txt |
à֮𞀞̕b␊à֮𞀞̕b␊à֮𞀞̕b
|
37 B | |
| 007793 | unicode/part2/line 19021 NormalizationTest.txt |
a֮𞀞̀̕b␊a֮𞀞̀̕b
|
25 B | |
| 007794 | unicode/part2/line 19022 NormalizationTest.txt |
à֮𞀟̕b␊à֮𞀟̕b␊à֮𞀟̕b
|
37 B | |
| 007795 | unicode/part2/line 19023 NormalizationTest.txt |
a֮𞀟̀̕b␊a֮𞀟̀̕b
|
25 B | |
| 007796 | unicode/part2/line 19024 NormalizationTest.txt |
à֮𞀠̕b␊à֮𞀠̕b␊à֮𞀠̕b
|
37 B | |
| 007797 | unicode/part2/line 19025 NormalizationTest.txt |
a֮𞀠̀̕b␊a֮𞀠̀̕b
|
25 B | |
| 007798 | unicode/part2/line 19026 NormalizationTest.txt |
à֮𞀡̕b␊à֮𞀡̕b␊à֮𞀡̕b
|
37 B | |
| 007799 | unicode/part2/line 19027 NormalizationTest.txt |
a֮𞀡̀̕b␊a֮𞀡̀̕b
|
25 B | |
| 007800 | unicode/part2/line 19028 NormalizationTest.txt |
à֮𞀣̕b␊à֮𞀣̕b␊à֮𞀣̕b
|
37 B | |
| 007801 | unicode/part2/line 19029 NormalizationTest.txt |
a֮𞀣̀̕b␊a֮𞀣̀̕b
|
25 B | |
| 007802 | unicode/part2/line 19030 NormalizationTest.txt |
à֮𞀤̕b␊à֮𞀤̕b␊à֮𞀤̕b
|
37 B | |
| 007803 | unicode/part2/line 19031 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