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 |
|---|---|---|---|---|
| 006500 | unicode/part2/line 17728 NormalizationTest.txt |
à֮ࠩ̕b␊à֮ࠩ̕b␊à֮ࠩ̕b
|
34 B | |
| 006501 | unicode/part2/line 17729 NormalizationTest.txt |
a֮ࠩ̀̕b␊a֮ࠩ̀̕b
|
23 B | |
| 006502 | unicode/part2/line 17730 NormalizationTest.txt |
à֮ࠪ̕b␊à֮ࠪ̕b␊à֮ࠪ̕b
|
34 B | |
| 006503 | unicode/part2/line 17731 NormalizationTest.txt |
a֮ࠪ̀̕b␊a֮ࠪ̀̕b
|
23 B | |
| 006504 | unicode/part2/line 17732 NormalizationTest.txt |
à֮ࠫ̕b␊à֮ࠫ̕b␊à֮ࠫ̕b
|
34 B | |
| 006505 | unicode/part2/line 17733 NormalizationTest.txt |
a֮ࠫ̀̕b␊a֮ࠫ̀̕b
|
23 B | |
| 006506 | unicode/part2/line 17734 NormalizationTest.txt |
à֮ࠬ̕b␊à֮ࠬ̕b␊à֮ࠬ̕b
|
34 B | |
| 006507 | unicode/part2/line 17735 NormalizationTest.txt |
a֮ࠬ̀̕b␊a֮ࠬ̀̕b
|
23 B | |
| 006508 | unicode/part2/line 17736 NormalizationTest.txt |
à֮࠭̕b␊à֮࠭̕b␊à֮࠭̕b
|
34 B | |
| 006509 | unicode/part2/line 17737 NormalizationTest.txt |
a֮࠭̀̕b␊a֮࠭̀̕b
|
23 B | |
| 006510 | unicode/part2/line 17738 NormalizationTest.txt |
a᷺̖࡙֚b␊a᷺̖࡙֚b
|
25 B | |
| 006511 | unicode/part2/line 17739 NormalizationTest.txt |
a᷺࡙̖֚b␊a᷺࡙̖֚b
|
25 B | |
| 006512 | unicode/part2/line 17740 NormalizationTest.txt |
a᷺̖࡚֚b␊a᷺̖࡚֚b
|
25 B | |
| 006513 | unicode/part2/line 17741 NormalizationTest.txt |
a᷺࡚̖֚b␊a᷺࡚̖֚b
|
25 B | |
| 006514 | unicode/part2/line 17742 NormalizationTest.txt |
a᷺̖࡛֚b␊a᷺̖࡛֚b
|
25 B | |
| 006515 | unicode/part2/line 17743 NormalizationTest.txt |
a᷺࡛̖֚b␊a᷺࡛̖֚b
|
25 B | |
| 006516 | unicode/part2/line 17744 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
34 B | |
| 006517 | unicode/part2/line 17745 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
23 B | |
| 006518 | unicode/part2/line 17746 NormalizationTest.txt |
à֮࢘̕b␊à֮࢘̕b␊à֮࢘̕b
|
34 B | |
| 006519 | unicode/part2/line 17747 NormalizationTest.txt |
a֮࢘̀̕b␊a֮࢘̀̕b
|
23 B | |
| 006520 | unicode/part2/line 17748 NormalizationTest.txt |
a᷺̖࢙֚b␊a᷺̖࢙֚b
|
25 B | |
| 006521 | unicode/part2/line 17749 NormalizationTest.txt |
a᷺࢙̖֚b␊a᷺࢙̖֚b
|
25 B | |
| 006522 | unicode/part2/line 17750 NormalizationTest.txt |
a᷺̖࢚֚b␊a᷺̖࢚֚b
|
25 B | |
| 006523 | unicode/part2/line 17751 NormalizationTest.txt |
a᷺࢚̖֚b␊a᷺࢚̖֚b
|
25 B | |
| 006524 | unicode/part2/line 17752 NormalizationTest.txt |
a᷺̖࢛֚b␊a᷺̖࢛֚b
|
25 B | |
| 006525 | unicode/part2/line 17753 NormalizationTest.txt |
a᷺࢛̖֚b␊a᷺࢛̖֚b
|
25 B | |
| 006526 | unicode/part2/line 17754 NormalizationTest.txt |
à֮࢜̕b␊à֮࢜̕b␊à֮࢜̕b
|
34 B | |
| 006527 | unicode/part2/line 17755 NormalizationTest.txt |
a֮࢜̀̕b␊a֮࢜̀̕b
|
23 B | |
| 006528 | unicode/part2/line 17756 NormalizationTest.txt |
à֮࢝̕b␊à֮࢝̕b␊à֮࢝̕b
|
34 B | |
| 006529 | unicode/part2/line 17757 NormalizationTest.txt |
a֮࢝̀̕b␊a֮࢝̀̕b
|
23 B | |
| 006530 | unicode/part2/line 17758 NormalizationTest.txt |
à֮࢞̕b␊à֮࢞̕b␊à֮࢞̕b
|
34 B | |
| 006531 | unicode/part2/line 17759 NormalizationTest.txt |
a֮࢞̀̕b␊a֮࢞̀̕b
|
23 B | |
| 006532 | unicode/part2/line 17760 NormalizationTest.txt |
à֮࢟̕b␊à֮࢟̕b␊à֮࢟̕b
|
34 B | |
| 006533 | unicode/part2/line 17761 NormalizationTest.txt |
a֮࢟̀̕b␊a֮࢟̀̕b
|
23 B | |
| 006534 | unicode/part2/line 17762 NormalizationTest.txt |
à֮࣊̕b␊à֮࣊̕b␊à֮࣊̕b
|
34 B | |
| 006535 | unicode/part2/line 17763 NormalizationTest.txt |
a֮࣊̀̕b␊a֮࣊̀̕b
|
23 B | |
| 006536 | unicode/part2/line 17764 NormalizationTest.txt |
à֮࣋̕b␊à֮࣋̕b␊à֮࣋̕b
|
34 B | |
| 006537 | unicode/part2/line 17765 NormalizationTest.txt |
a֮࣋̀̕b␊a֮࣋̀̕b
|
23 B | |
| 006538 | unicode/part2/line 17766 NormalizationTest.txt |
à֮࣌̕b␊à֮࣌̕b␊à֮࣌̕b
|
34 B | |
| 006539 | unicode/part2/line 17767 NormalizationTest.txt |
a֮࣌̀̕b␊a֮࣌̀̕b
|
23 B | |
| 006540 | unicode/part2/line 17768 NormalizationTest.txt |
à֮࣍̕b␊à֮࣍̕b␊à֮࣍̕b
|
34 B | |
| 006541 | unicode/part2/line 17769 NormalizationTest.txt |
a֮࣍̀̕b␊a֮࣍̀̕b
|
23 B | |
| 006542 | unicode/part2/line 17770 NormalizationTest.txt |
à֮࣎̕b␊à֮࣎̕b␊à֮࣎̕b
|
34 B | |
| 006543 | unicode/part2/line 17771 NormalizationTest.txt |
a֮࣎̀̕b␊a֮࣎̀̕b
|
23 B | |
| 006544 | unicode/part2/line 17772 NormalizationTest.txt |
a᷺̖࣏֚b␊a᷺̖࣏֚b
|
25 B | |
| 006545 | unicode/part2/line 17773 NormalizationTest.txt |
a᷺࣏̖֚b␊a᷺࣏̖֚b
|
25 B | |
| 006546 | unicode/part2/line 17774 NormalizationTest.txt |
a᷺̖࣐֚b␊a᷺̖࣐֚b
|
25 B | |
| 006547 | unicode/part2/line 17775 NormalizationTest.txt |
a᷺࣐̖֚b␊a᷺࣐̖֚b
|
25 B | |
| 006548 | unicode/part2/line 17776 NormalizationTest.txt |
a᷺̖࣑֚b␊a᷺̖࣑֚b
|
25 B | |
| 006549 | unicode/part2/line 17777 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