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 |
|---|---|---|---|---|
| 007154 | unicode/part2/line 18382 NormalizationTest.txt |
à֮⃕̕b␊à֮⃕̕b␊à֮⃕̕b
|
34 B | |
| 007155 | unicode/part2/line 18383 NormalizationTest.txt |
a֮⃕̀̕b␊a֮⃕̀̕b
|
23 B | |
| 007156 | unicode/part2/line 18384 NormalizationTest.txt |
à֮⃖̕b␊à֮⃖̕b␊à֮⃖̕b
|
34 B | |
| 007157 | unicode/part2/line 18385 NormalizationTest.txt |
a֮⃖̀̕b␊a֮⃖̀̕b
|
23 B | |
| 007158 | unicode/part2/line 18386 NormalizationTest.txt |
à֮⃗̕b␊à֮⃗̕b␊à֮⃗̕b
|
34 B | |
| 007159 | unicode/part2/line 18387 NormalizationTest.txt |
a֮⃗̀̕b␊a֮⃗̀̕b
|
23 B | |
| 007160 | unicode/part2/line 18388 NormalizationTest.txt |
a̴⃘𖿰b␊a̴⃘𖿰b
|
23 B | |
| 007161 | unicode/part2/line 18389 NormalizationTest.txt |
a⃘̴𖿰b␊a⃘̴𖿰b
|
23 B | |
| 007162 | unicode/part2/line 18390 NormalizationTest.txt |
a̴⃙𖿰b␊a̴⃙𖿰b
|
23 B | |
| 007163 | unicode/part2/line 18391 NormalizationTest.txt |
a⃙̴𖿰b␊a⃙̴𖿰b
|
23 B | |
| 007164 | unicode/part2/line 18392 NormalizationTest.txt |
a̴⃚𖿰b␊a̴⃚𖿰b
|
23 B | |
| 007165 | unicode/part2/line 18393 NormalizationTest.txt |
a⃚̴𖿰b␊a⃚̴𖿰b
|
23 B | |
| 007166 | unicode/part2/line 18394 NormalizationTest.txt |
à֮⃛̕b␊à֮⃛̕b␊à֮⃛̕b
|
34 B | |
| 007167 | unicode/part2/line 18395 NormalizationTest.txt |
a֮⃛̀̕b␊a֮⃛̀̕b
|
23 B | |
| 007168 | unicode/part2/line 18396 NormalizationTest.txt |
à֮⃜̕b␊à֮⃜̕b␊à֮⃜̕b
|
34 B | |
| 007169 | unicode/part2/line 18397 NormalizationTest.txt |
a֮⃜̀̕b␊a֮⃜̀̕b
|
23 B | |
| 007170 | unicode/part2/line 18398 NormalizationTest.txt |
à֮⃡̕b␊à֮⃡̕b␊à֮⃡̕b
|
34 B | |
| 007171 | unicode/part2/line 18399 NormalizationTest.txt |
a֮⃡̀̕b␊a֮⃡̀̕b
|
23 B | |
| 007172 | unicode/part2/line 18400 NormalizationTest.txt |
a̴⃥𖿰b␊a̴⃥𖿰b
|
23 B | |
| 007173 | unicode/part2/line 18401 NormalizationTest.txt |
a⃥̴𖿰b␊a⃥̴𖿰b
|
23 B | |
| 007174 | unicode/part2/line 18402 NormalizationTest.txt |
a̴⃦𖿰b␊a̴⃦𖿰b
|
23 B | |
| 007175 | unicode/part2/line 18403 NormalizationTest.txt |
a⃦̴𖿰b␊a⃦̴𖿰b
|
23 B | |
| 007176 | unicode/part2/line 18404 NormalizationTest.txt |
à֮⃧̕b␊à֮⃧̕b␊à֮⃧̕b
|
34 B | |
| 007177 | unicode/part2/line 18405 NormalizationTest.txt |
a֮⃧̀̕b␊a֮⃧̀̕b
|
23 B | |
| 007178 | unicode/part2/line 18406 NormalizationTest.txt |
a᷺̖⃨֚b␊a᷺̖⃨֚b
|
25 B | |
| 007179 | unicode/part2/line 18407 NormalizationTest.txt |
a᷺⃨̖֚b␊a᷺⃨̖֚b
|
25 B | |
| 007180 | unicode/part2/line 18408 NormalizationTest.txt |
à֮⃩̕b␊à֮⃩̕b␊à֮⃩̕b
|
34 B | |
| 007181 | unicode/part2/line 18409 NormalizationTest.txt |
a֮⃩̀̕b␊a֮⃩̀̕b
|
23 B | |
| 007182 | unicode/part2/line 18410 NormalizationTest.txt |
a̴⃪𖿰b␊a̴⃪𖿰b
|
23 B | |
| 007183 | unicode/part2/line 18411 NormalizationTest.txt |
a⃪̴𖿰b␊a⃪̴𖿰b
|
23 B | |
| 007184 | unicode/part2/line 18412 NormalizationTest.txt |
a̴⃫𖿰b␊a̴⃫𖿰b
|
23 B | |
| 007185 | unicode/part2/line 18413 NormalizationTest.txt |
a⃫̴𖿰b␊a⃫̴𖿰b
|
23 B | |
| 007186 | unicode/part2/line 18414 NormalizationTest.txt |
a᷺̖⃬֚b␊a᷺̖⃬֚b
|
25 B | |
| 007187 | unicode/part2/line 18415 NormalizationTest.txt |
a᷺⃬̖֚b␊a᷺⃬̖֚b
|
25 B | |
| 007188 | unicode/part2/line 18416 NormalizationTest.txt |
a᷺̖⃭֚b␊a᷺̖⃭֚b
|
25 B | |
| 007189 | unicode/part2/line 18417 NormalizationTest.txt |
a᷺⃭̖֚b␊a᷺⃭̖֚b
|
25 B | |
| 007190 | unicode/part2/line 18418 NormalizationTest.txt |
a᷺̖⃮֚b␊a᷺̖⃮֚b
|
25 B | |
| 007191 | unicode/part2/line 18419 NormalizationTest.txt |
a᷺⃮̖֚b␊a᷺⃮̖֚b
|
25 B | |
| 007192 | unicode/part2/line 18420 NormalizationTest.txt |
a᷺̖⃯֚b␊a᷺̖⃯֚b
|
25 B | |
| 007193 | unicode/part2/line 18421 NormalizationTest.txt |
a᷺⃯̖֚b␊a᷺⃯̖֚b
|
25 B | |
| 007194 | unicode/part2/line 18422 NormalizationTest.txt |
à֮⃰̕b␊à֮⃰̕b␊à֮⃰̕b
|
34 B | |
| 007195 | unicode/part2/line 18423 NormalizationTest.txt |
a֮⃰̀̕b␊a֮⃰̀̕b
|
23 B | |
| 007196 | unicode/part2/line 18424 NormalizationTest.txt |
à֮⳯̕b␊à֮⳯̕b␊à֮⳯̕b
|
34 B | |
| 007197 | unicode/part2/line 18425 NormalizationTest.txt |
a֮⳯̀̕b␊a֮⳯̀̕b
|
23 B | |
| 007198 | unicode/part2/line 18426 NormalizationTest.txt |
à֮⳰̕b␊à֮⳰̕b␊à֮⳰̕b
|
34 B | |
| 007199 | unicode/part2/line 18427 NormalizationTest.txt |
a֮⳰̀̕b␊a֮⳰̀̕b
|
23 B | |
| 007200 | unicode/part2/line 18428 NormalizationTest.txt |
à֮⳱̕b␊à֮⳱̕b␊à֮⳱̕b
|
34 B | |
| 007201 | unicode/part2/line 18429 NormalizationTest.txt |
a֮⳱̀̕b␊a֮⳱̀̕b
|
23 B | |
| 007202 | unicode/part2/line 18430 NormalizationTest.txt |
a゙्⵿ְb␊a゙्⵿ְb
|
27 B | |
| 007203 | unicode/part2/line 18431 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