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 |
|---|---|---|---|---|
| 006904 | unicode/part2/line 18132 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006905 | unicode/part2/line 18133 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006906 | unicode/part2/line 18134 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006907 | unicode/part2/line 18135 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006908 | unicode/part2/line 18136 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006909 | unicode/part2/line 18137 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006910 | unicode/part2/line 18138 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006911 | unicode/part2/line 18139 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006912 | unicode/part2/line 18140 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006913 | unicode/part2/line 18141 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006914 | unicode/part2/line 18142 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006915 | unicode/part2/line 18143 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006916 | unicode/part2/line 18144 NormalizationTest.txt |
a᷺̖֚b␊a᷺̖֚b
|
25 B | |
| 006917 | unicode/part2/line 18145 NormalizationTest.txt |
a᷺̖֚b␊a᷺̖֚b
|
25 B | |
| 006918 | unicode/part2/line 18146 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006919 | unicode/part2/line 18147 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006920 | unicode/part2/line 18148 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006921 | unicode/part2/line 18149 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006922 | unicode/part2/line 18150 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006923 | unicode/part2/line 18151 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006924 | unicode/part2/line 18152 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006925 | unicode/part2/line 18153 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006926 | unicode/part2/line 18154 NormalizationTest.txt |
a͜͝ͅb␊a͜͝ͅb
|
23 B | |
| 006927 | unicode/part2/line 18155 NormalizationTest.txt |
a͜͝ͅb␊a͜͝ͅb
|
23 B | |
| 006928 | unicode/part2/line 18156 NormalizationTest.txt |
a𖿰़᬴゙b␊a𖿰़᬴゙b
|
31 B | |
| 006929 | unicode/part2/line 18157 NormalizationTest.txt |
a𖿰᬴़゙b␊a𖿰᬴़゙b
|
31 B | |
| 006930 | unicode/part2/line 18158 NormalizationTest.txt |
a゙्᭄ְb␊a゙्᭄ְb
|
27 B | |
| 006931 | unicode/part2/line 18159 NormalizationTest.txt |
a゙᭄्ְb␊a゙᭄्ְb
|
27 B | |
| 006932 | unicode/part2/line 18160 NormalizationTest.txt |
à֮᭫̕b␊à֮᭫̕b␊à֮᭫̕b
|
34 B | |
| 006933 | unicode/part2/line 18161 NormalizationTest.txt |
a֮᭫̀̕b␊a֮᭫̀̕b
|
23 B | |
| 006934 | unicode/part2/line 18162 NormalizationTest.txt |
a᷺̖᭬֚b␊a᷺̖᭬֚b
|
25 B | |
| 006935 | unicode/part2/line 18163 NormalizationTest.txt |
a᷺᭬̖֚b␊a᷺᭬̖֚b
|
25 B | |
| 006936 | unicode/part2/line 18164 NormalizationTest.txt |
à֮᭭̕b␊à֮᭭̕b␊à֮᭭̕b
|
34 B | |
| 006937 | unicode/part2/line 18165 NormalizationTest.txt |
a֮᭭̀̕b␊a֮᭭̀̕b
|
23 B | |
| 006938 | unicode/part2/line 18166 NormalizationTest.txt |
à֮᭮̕b␊à֮᭮̕b␊à֮᭮̕b
|
34 B | |
| 006939 | unicode/part2/line 18167 NormalizationTest.txt |
a֮᭮̀̕b␊a֮᭮̀̕b
|
23 B | |
| 006940 | unicode/part2/line 18168 NormalizationTest.txt |
à֮᭯̕b␊à֮᭯̕b␊à֮᭯̕b
|
34 B | |
| 006941 | unicode/part2/line 18169 NormalizationTest.txt |
a֮᭯̀̕b␊a֮᭯̀̕b
|
23 B | |
| 006942 | unicode/part2/line 18170 NormalizationTest.txt |
à֮᭰̕b␊à֮᭰̕b␊à֮᭰̕b
|
34 B | |
| 006943 | unicode/part2/line 18171 NormalizationTest.txt |
a֮᭰̀̕b␊a֮᭰̀̕b
|
23 B | |
| 006944 | unicode/part2/line 18172 NormalizationTest.txt |
à֮᭱̕b␊à֮᭱̕b␊à֮᭱̕b
|
34 B | |
| 006945 | unicode/part2/line 18173 NormalizationTest.txt |
a֮᭱̀̕b␊a֮᭱̀̕b
|
23 B | |
| 006946 | unicode/part2/line 18174 NormalizationTest.txt |
à֮᭲̕b␊à֮᭲̕b␊à֮᭲̕b
|
34 B | |
| 006947 | unicode/part2/line 18175 NormalizationTest.txt |
a֮᭲̀̕b␊a֮᭲̀̕b
|
23 B | |
| 006948 | unicode/part2/line 18176 NormalizationTest.txt |
à֮᭳̕b␊à֮᭳̕b␊à֮᭳̕b
|
34 B | |
| 006949 | unicode/part2/line 18177 NormalizationTest.txt |
a֮᭳̀̕b␊a֮᭳̀̕b
|
23 B | |
| 006950 | unicode/part2/line 18178 NormalizationTest.txt |
a゙्᮪ְb␊a゙्᮪ְb
|
27 B | |
| 006951 | unicode/part2/line 18179 NormalizationTest.txt |
a゙᮪्ְb␊a゙᮪्ְb
|
27 B | |
| 006952 | unicode/part2/line 18180 NormalizationTest.txt |
a゙्᮫ְb␊a゙्᮫ְb
|
27 B | |
| 006953 | unicode/part2/line 18181 NormalizationTest.txt |
a゙᮫्ְb␊a゙᮫्ְb
|
27 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