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 |
|---|---|---|---|---|
| 008550 | unicode/part4/line 19785 NormalizationTest.txt |
ᾓ␊ᾓ␊ᾓ
|
18 B | |
| 008551 | unicode/part4/line 19786 NormalizationTest.txt |
ᾓ␊ᾓ␊ᾓ
|
18 B | |
| 008552 | unicode/part4/line 19787 NormalizationTest.txt |
ᾓ␊ᾓ␊ᾓ
|
20 B | |
| 008553 | unicode/part4/line 19788 NormalizationTest.txt |
ᾓ␊ᾓ␊ᾓ
|
20 B | |
| 008554 | unicode/part4/line 19789 NormalizationTest.txt |
ᾓ␊ᾓ␊ᾓ
|
20 B | |
| 008555 | unicode/part4/line 19790 NormalizationTest.txt |
ᾓ␊ᾓ␊ᾓ
|
20 B | |
| 008556 | unicode/part4/line 19791 NormalizationTest.txt |
ᾓ␊ᾓ␊ᾓ
|
20 B | |
| 008557 | unicode/part4/line 19792 NormalizationTest.txt |
ᾓ␊ᾓ␊ᾓ
|
20 B | |
| 008558 | unicode/part4/line 19793 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
18 B | |
| 008559 | unicode/part4/line 19794 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
18 B | |
| 008560 | unicode/part4/line 19795 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
18 B | |
| 008561 | unicode/part4/line 19796 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
20 B | |
| 008562 | unicode/part4/line 19797 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
20 B | |
| 008563 | unicode/part4/line 19798 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
20 B | |
| 008564 | unicode/part4/line 19799 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
20 B | |
| 008565 | unicode/part4/line 19800 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
20 B | |
| 008566 | unicode/part4/line 19801 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
20 B | |
| 008567 | unicode/part4/line 19802 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
20 B | |
| 008568 | unicode/part4/line 19803 NormalizationTest.txt |
ᾔ␊ᾔ␊ᾔ
|
20 B | |
| 008569 | unicode/part4/line 19804 NormalizationTest.txt |
ᾕ␊ᾕ␊ᾕ
|
18 B | |
| 008570 | unicode/part4/line 19805 NormalizationTest.txt |
ᾕ␊ᾕ␊ᾕ
|
18 B | |
| 008571 | unicode/part4/line 19806 NormalizationTest.txt |
ᾕ␊ᾕ␊ᾕ
|
18 B | |
| 008572 | unicode/part4/line 19807 NormalizationTest.txt |
ᾕ␊ᾕ␊ᾕ
|
20 B | |
| 008573 | unicode/part4/line 19808 NormalizationTest.txt |
ᾕ␊ᾕ␊ᾕ
|
20 B | |
| 008574 | unicode/part4/line 19809 NormalizationTest.txt |
ᾕ␊ᾕ␊ᾕ
|
20 B | |
| 008575 | unicode/part4/line 19810 NormalizationTest.txt |
ᾕ␊ᾕ␊ᾕ
|
20 B | |
| 008576 | unicode/part4/line 19811 NormalizationTest.txt |
ᾕ␊ᾕ␊ᾕ
|
20 B | |
| 008577 | unicode/part4/line 19812 NormalizationTest.txt |
ᾕ␊ᾕ␊ᾕ
|
20 B | |
| 008578 | unicode/part4/line 19813 NormalizationTest.txt |
ᾖ␊ᾖ␊ᾖ
|
18 B | |
| 008579 | unicode/part4/line 19814 NormalizationTest.txt |
ᾖ␊ᾖ␊ᾖ
|
18 B | |
| 008580 | unicode/part4/line 19815 NormalizationTest.txt |
ᾖ␊ᾖ␊ᾖ
|
20 B | |
| 008581 | unicode/part4/line 19816 NormalizationTest.txt |
ᾖ␊ᾖ␊ᾖ
|
20 B | |
| 008582 | unicode/part4/line 19817 NormalizationTest.txt |
ᾖ␊ᾖ␊ᾖ
|
20 B | |
| 008583 | unicode/part4/line 19818 NormalizationTest.txt |
ᾖ␊ᾖ␊ᾖ
|
20 B | |
| 008584 | unicode/part4/line 19819 NormalizationTest.txt |
ᾗ␊ᾗ␊ᾗ
|
18 B | |
| 008585 | unicode/part4/line 19820 NormalizationTest.txt |
ᾗ␊ᾗ␊ᾗ
|
18 B | |
| 008586 | unicode/part4/line 19821 NormalizationTest.txt |
ᾗ␊ᾗ␊ᾗ
|
20 B | |
| 008587 | unicode/part4/line 19822 NormalizationTest.txt |
ᾗ␊ᾗ␊ᾗ
|
20 B | |
| 008588 | unicode/part4/line 19823 NormalizationTest.txt |
ᾗ␊ᾗ␊ᾗ
|
20 B | |
| 008589 | unicode/part4/line 19824 NormalizationTest.txt |
ᾘ␊ᾘ␊ᾘ
|
16 B | |
| 008590 | unicode/part4/line 19825 NormalizationTest.txt |
ᾘ␊ᾘ␊ᾘ
|
16 B | |
| 008591 | unicode/part4/line 19826 NormalizationTest.txt |
ᾘ␊ᾘ␊ᾘ
|
16 B | |
| 008592 | unicode/part4/line 19827 NormalizationTest.txt |
ᾙ␊ᾙ␊ᾙ
|
16 B | |
| 008593 | unicode/part4/line 19828 NormalizationTest.txt |
ᾙ␊ᾙ␊ᾙ
|
16 B | |
| 008594 | unicode/part4/line 19829 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
18 B | |
| 008595 | unicode/part4/line 19830 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
18 B | |
| 008596 | unicode/part4/line 19831 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
18 B | |
| 008597 | unicode/part4/line 19832 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
20 B | |
| 008598 | unicode/part4/line 19833 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
20 B | |
| 008599 | unicode/part4/line 19834 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
20 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