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 |
|---|---|---|---|---|
| 007450 | unicode/part2/line 18678 NormalizationTest.txt |
à֮𐫥̕b␊à֮𐫥̕b␊à֮𐫥̕b
|
37 B | |
| 007451 | unicode/part2/line 18679 NormalizationTest.txt |
a֮𐫥̀̕b␊a֮𐫥̀̕b
|
25 B | |
| 007452 | unicode/part2/line 18680 NormalizationTest.txt |
a᷺̖𐫦֚b␊a᷺̖𐫦֚b
|
27 B | |
| 007453 | unicode/part2/line 18681 NormalizationTest.txt |
a᷺𐫦̖֚b␊a᷺𐫦̖֚b
|
27 B | |
| 007454 | unicode/part2/line 18682 NormalizationTest.txt |
à֮𐴤̕b␊à֮𐴤̕b␊à֮𐴤̕b
|
37 B | |
| 007455 | unicode/part2/line 18683 NormalizationTest.txt |
a֮𐴤̀̕b␊a֮𐴤̀̕b
|
25 B | |
| 007456 | unicode/part2/line 18684 NormalizationTest.txt |
à֮𐴥̕b␊à֮𐴥̕b␊à֮𐴥̕b
|
37 B | |
| 007457 | unicode/part2/line 18685 NormalizationTest.txt |
a֮𐴥̀̕b␊a֮𐴥̀̕b
|
25 B | |
| 007458 | unicode/part2/line 18686 NormalizationTest.txt |
à֮𐴦̕b␊à֮𐴦̕b␊à֮𐴦̕b
|
37 B | |
| 007459 | unicode/part2/line 18687 NormalizationTest.txt |
a֮𐴦̀̕b␊a֮𐴦̀̕b
|
25 B | |
| 007460 | unicode/part2/line 18688 NormalizationTest.txt |
à֮𐴧̕b␊à֮𐴧̕b␊à֮𐴧̕b
|
37 B | |
| 007461 | unicode/part2/line 18689 NormalizationTest.txt |
a֮𐴧̀̕b␊a֮𐴧̀̕b
|
25 B | |
| 007462 | unicode/part2/line 18690 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
37 B | |
| 007463 | unicode/part2/line 18691 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
25 B | |
| 007464 | unicode/part2/line 18692 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
37 B | |
| 007465 | unicode/part2/line 18693 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
25 B | |
| 007466 | unicode/part2/line 18694 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
37 B | |
| 007467 | unicode/part2/line 18695 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
25 B | |
| 007468 | unicode/part2/line 18696 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
37 B | |
| 007469 | unicode/part2/line 18697 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
25 B | |
| 007470 | unicode/part2/line 18698 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
37 B | |
| 007471 | unicode/part2/line 18699 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
25 B | |
| 007472 | unicode/part2/line 18700 NormalizationTest.txt |
à֮𐺫̕b␊à֮𐺫̕b␊à֮𐺫̕b
|
37 B | |
| 007473 | unicode/part2/line 18701 NormalizationTest.txt |
a֮𐺫̀̕b␊a֮𐺫̀̕b
|
25 B | |
| 007474 | unicode/part2/line 18702 NormalizationTest.txt |
à֮𐺬̕b␊à֮𐺬̕b␊à֮𐺬̕b
|
37 B | |
| 007475 | unicode/part2/line 18703 NormalizationTest.txt |
a֮𐺬̀̕b␊a֮𐺬̀̕b
|
25 B | |
| 007476 | unicode/part2/line 18704 NormalizationTest.txt |
a᷺̖֚b␊a᷺̖֚b
|
27 B | |
| 007477 | unicode/part2/line 18705 NormalizationTest.txt |
a᷺̖֚b␊a᷺̖֚b
|
27 B | |
| 007478 | unicode/part2/line 18706 NormalizationTest.txt |
a᷺̖֚b␊a᷺̖֚b
|
27 B | |
| 007479 | unicode/part2/line 18707 NormalizationTest.txt |
a᷺̖֚b␊a᷺̖֚b
|
27 B | |
| 007480 | unicode/part2/line 18708 NormalizationTest.txt |
a᷺̖𐻽֚b␊a᷺̖𐻽֚b
|
27 B | |
| 007481 | unicode/part2/line 18709 NormalizationTest.txt |
a᷺𐻽̖֚b␊a᷺𐻽̖֚b
|
27 B | |
| 007482 | unicode/part2/line 18710 NormalizationTest.txt |
a᷺̖𐻾֚b␊a᷺̖𐻾֚b
|
27 B | |
| 007483 | unicode/part2/line 18711 NormalizationTest.txt |
a᷺𐻾̖֚b␊a᷺𐻾̖֚b
|
27 B | |
| 007484 | unicode/part2/line 18712 NormalizationTest.txt |
a᷺̖𐻿֚b␊a᷺̖𐻿֚b
|
27 B | |
| 007485 | unicode/part2/line 18713 NormalizationTest.txt |
a᷺𐻿̖֚b␊a᷺𐻿̖֚b
|
27 B | |
| 007486 | unicode/part2/line 18714 NormalizationTest.txt |
a᷺̖𐽆֚b␊a᷺̖𐽆֚b
|
27 B | |
| 007487 | unicode/part2/line 18715 NormalizationTest.txt |
a᷺𐽆̖֚b␊a᷺𐽆̖֚b
|
27 B | |
| 007488 | unicode/part2/line 18716 NormalizationTest.txt |
a᷺̖𐽇֚b␊a᷺̖𐽇֚b
|
27 B | |
| 007489 | unicode/part2/line 18717 NormalizationTest.txt |
a᷺𐽇̖֚b␊a᷺𐽇̖֚b
|
27 B | |
| 007490 | unicode/part2/line 18718 NormalizationTest.txt |
à֮𐽈̕b␊à֮𐽈̕b␊à֮𐽈̕b
|
37 B | |
| 007491 | unicode/part2/line 18719 NormalizationTest.txt |
a֮𐽈̀̕b␊a֮𐽈̀̕b
|
25 B | |
| 007492 | unicode/part2/line 18720 NormalizationTest.txt |
à֮𐽉̕b␊à֮𐽉̕b␊à֮𐽉̕b
|
37 B | |
| 007493 | unicode/part2/line 18721 NormalizationTest.txt |
a֮𐽉̀̕b␊a֮𐽉̀̕b
|
25 B | |
| 007494 | unicode/part2/line 18722 NormalizationTest.txt |
à֮𐽊̕b␊à֮𐽊̕b␊à֮𐽊̕b
|
37 B | |
| 007495 | unicode/part2/line 18723 NormalizationTest.txt |
a֮𐽊̀̕b␊a֮𐽊̀̕b
|
25 B | |
| 007496 | unicode/part2/line 18724 NormalizationTest.txt |
a᷺̖𐽋֚b␊a᷺̖𐽋֚b
|
27 B | |
| 007497 | unicode/part2/line 18725 NormalizationTest.txt |
a᷺𐽋̖֚b␊a᷺𐽋̖֚b
|
27 B | |
| 007498 | unicode/part2/line 18726 NormalizationTest.txt |
à֮𐽌̕b␊à֮𐽌̕b␊à֮𐽌̕b
|
37 B | |
| 007499 | unicode/part2/line 18727 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