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 |
|---|---|---|---|---|
| 006450 | unicode/part2/line 17678 NormalizationTest.txt |
à֮߬̕b␊à֮߬̕b␊à֮߬̕b
|
31 B | |
| 006451 | unicode/part2/line 17679 NormalizationTest.txt |
a֮߬̀̕b␊a֮߬̀̕b
|
21 B | |
| 006452 | unicode/part2/line 17680 NormalizationTest.txt |
à֮߭̕b␊à֮߭̕b␊à֮߭̕b
|
31 B | |
| 006453 | unicode/part2/line 17681 NormalizationTest.txt |
a֮߭̀̕b␊a֮߭̀̕b
|
21 B | |
| 006454 | unicode/part2/line 17682 NormalizationTest.txt |
à֮߮̕b␊à֮߮̕b␊à֮߮̕b
|
31 B | |
| 006455 | unicode/part2/line 17683 NormalizationTest.txt |
a֮߮̀̕b␊a֮߮̀̕b
|
21 B | |
| 006456 | unicode/part2/line 17684 NormalizationTest.txt |
à֮߯̕b␊à֮߯̕b␊à֮߯̕b
|
31 B | |
| 006457 | unicode/part2/line 17685 NormalizationTest.txt |
a֮߯̀̕b␊a֮߯̀̕b
|
21 B | |
| 006458 | unicode/part2/line 17686 NormalizationTest.txt |
à֮߰̕b␊à֮߰̕b␊à֮߰̕b
|
31 B | |
| 006459 | unicode/part2/line 17687 NormalizationTest.txt |
a֮߰̀̕b␊a֮߰̀̕b
|
21 B | |
| 006460 | unicode/part2/line 17688 NormalizationTest.txt |
à֮߱̕b␊à֮߱̕b␊à֮߱̕b
|
31 B | |
| 006461 | unicode/part2/line 17689 NormalizationTest.txt |
a֮߱̀̕b␊a֮߱̀̕b
|
21 B | |
| 006462 | unicode/part2/line 17690 NormalizationTest.txt |
a᷺̖߲֚b␊a᷺̖߲֚b
|
23 B | |
| 006463 | unicode/part2/line 17691 NormalizationTest.txt |
a᷺߲̖֚b␊a᷺߲̖֚b
|
23 B | |
| 006464 | unicode/part2/line 17692 NormalizationTest.txt |
à֮߳̕b␊à֮߳̕b␊à֮߳̕b
|
31 B | |
| 006465 | unicode/part2/line 17693 NormalizationTest.txt |
a֮߳̀̕b␊a֮߳̀̕b
|
21 B | |
| 006466 | unicode/part2/line 17694 NormalizationTest.txt |
a᷺̖߽֚b␊a᷺̖߽֚b
|
23 B | |
| 006467 | unicode/part2/line 17695 NormalizationTest.txt |
a᷺߽̖֚b␊a᷺߽̖֚b
|
23 B | |
| 006468 | unicode/part2/line 17696 NormalizationTest.txt |
à֮ࠖ̕b␊à֮ࠖ̕b␊à֮ࠖ̕b
|
34 B | |
| 006469 | unicode/part2/line 17697 NormalizationTest.txt |
a֮ࠖ̀̕b␊a֮ࠖ̀̕b
|
23 B | |
| 006470 | unicode/part2/line 17698 NormalizationTest.txt |
à֮ࠗ̕b␊à֮ࠗ̕b␊à֮ࠗ̕b
|
34 B | |
| 006471 | unicode/part2/line 17699 NormalizationTest.txt |
a֮ࠗ̀̕b␊a֮ࠗ̀̕b
|
23 B | |
| 006472 | unicode/part2/line 17700 NormalizationTest.txt |
à֮࠘̕b␊à֮࠘̕b␊à֮࠘̕b
|
34 B | |
| 006473 | unicode/part2/line 17701 NormalizationTest.txt |
a֮࠘̀̕b␊a֮࠘̀̕b
|
23 B | |
| 006474 | unicode/part2/line 17702 NormalizationTest.txt |
à֮࠙̕b␊à֮࠙̕b␊à֮࠙̕b
|
34 B | |
| 006475 | unicode/part2/line 17703 NormalizationTest.txt |
a֮࠙̀̕b␊a֮࠙̀̕b
|
23 B | |
| 006476 | unicode/part2/line 17704 NormalizationTest.txt |
à֮ࠛ̕b␊à֮ࠛ̕b␊à֮ࠛ̕b
|
34 B | |
| 006477 | unicode/part2/line 17705 NormalizationTest.txt |
a֮ࠛ̀̕b␊a֮ࠛ̀̕b
|
23 B | |
| 006478 | unicode/part2/line 17706 NormalizationTest.txt |
à֮ࠜ̕b␊à֮ࠜ̕b␊à֮ࠜ̕b
|
34 B | |
| 006479 | unicode/part2/line 17707 NormalizationTest.txt |
a֮ࠜ̀̕b␊a֮ࠜ̀̕b
|
23 B | |
| 006480 | unicode/part2/line 17708 NormalizationTest.txt |
à֮ࠝ̕b␊à֮ࠝ̕b␊à֮ࠝ̕b
|
34 B | |
| 006481 | unicode/part2/line 17709 NormalizationTest.txt |
a֮ࠝ̀̕b␊a֮ࠝ̀̕b
|
23 B | |
| 006482 | unicode/part2/line 17710 NormalizationTest.txt |
à֮ࠞ̕b␊à֮ࠞ̕b␊à֮ࠞ̕b
|
34 B | |
| 006483 | unicode/part2/line 17711 NormalizationTest.txt |
a֮ࠞ̀̕b␊a֮ࠞ̀̕b
|
23 B | |
| 006484 | unicode/part2/line 17712 NormalizationTest.txt |
à֮ࠟ̕b␊à֮ࠟ̕b␊à֮ࠟ̕b
|
34 B | |
| 006485 | unicode/part2/line 17713 NormalizationTest.txt |
a֮ࠟ̀̕b␊a֮ࠟ̀̕b
|
23 B | |
| 006486 | unicode/part2/line 17714 NormalizationTest.txt |
à֮ࠠ̕b␊à֮ࠠ̕b␊à֮ࠠ̕b
|
34 B | |
| 006487 | unicode/part2/line 17715 NormalizationTest.txt |
a֮ࠠ̀̕b␊a֮ࠠ̀̕b
|
23 B | |
| 006488 | unicode/part2/line 17716 NormalizationTest.txt |
à֮ࠡ̕b␊à֮ࠡ̕b␊à֮ࠡ̕b
|
34 B | |
| 006489 | unicode/part2/line 17717 NormalizationTest.txt |
a֮ࠡ̀̕b␊a֮ࠡ̀̕b
|
23 B | |
| 006490 | unicode/part2/line 17718 NormalizationTest.txt |
à֮ࠢ̕b␊à֮ࠢ̕b␊à֮ࠢ̕b
|
34 B | |
| 006491 | unicode/part2/line 17719 NormalizationTest.txt |
a֮ࠢ̀̕b␊a֮ࠢ̀̕b
|
23 B | |
| 006492 | unicode/part2/line 17720 NormalizationTest.txt |
à֮ࠣ̕b␊à֮ࠣ̕b␊à֮ࠣ̕b
|
34 B | |
| 006493 | unicode/part2/line 17721 NormalizationTest.txt |
a֮ࠣ̀̕b␊a֮ࠣ̀̕b
|
23 B | |
| 006494 | unicode/part2/line 17722 NormalizationTest.txt |
à֮ࠥ̕b␊à֮ࠥ̕b␊à֮ࠥ̕b
|
34 B | |
| 006495 | unicode/part2/line 17723 NormalizationTest.txt |
a֮ࠥ̀̕b␊a֮ࠥ̀̕b
|
23 B | |
| 006496 | unicode/part2/line 17724 NormalizationTest.txt |
à֮ࠦ̕b␊à֮ࠦ̕b␊à֮ࠦ̕b
|
34 B | |
| 006497 | unicode/part2/line 17725 NormalizationTest.txt |
a֮ࠦ̀̕b␊a֮ࠦ̀̕b
|
23 B | |
| 006498 | unicode/part2/line 17726 NormalizationTest.txt |
à֮ࠧ̕b␊à֮ࠧ̕b␊à֮ࠧ̕b
|
34 B | |
| 006499 | unicode/part2/line 17727 NormalizationTest.txt |
a֮ࠧ̀̕b␊a֮ࠧ̀̕b
|
23 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