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
727 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 008434 | unicode/part4/line 19669 NormalizationTest.txt |
ᾂ␊ᾂ␊ᾂ
|
20 B | |
| 008435 | unicode/part4/line 19670 NormalizationTest.txt |
ᾂ␊ᾂ␊ᾂ
|
20 B | |
| 008436 | unicode/part4/line 19671 NormalizationTest.txt |
ᾂ␊ᾂ␊ᾂ
|
20 B | |
| 008437 | unicode/part4/line 19672 NormalizationTest.txt |
ᾃ␊ᾃ␊ᾃ
|
18 B | |
| 008438 | unicode/part4/line 19673 NormalizationTest.txt |
ᾃ␊ᾃ␊ᾃ
|
18 B | |
| 008439 | unicode/part4/line 19674 NormalizationTest.txt |
ᾃ␊ᾃ␊ᾃ
|
18 B | |
| 008440 | unicode/part4/line 19675 NormalizationTest.txt |
ᾃ␊ᾃ␊ᾃ
|
20 B | |
| 008441 | unicode/part4/line 19676 NormalizationTest.txt |
ᾃ␊ᾃ␊ᾃ
|
20 B | |
| 008442 | unicode/part4/line 19677 NormalizationTest.txt |
ᾃ␊ᾃ␊ᾃ
|
20 B | |
| 008443 | unicode/part4/line 19678 NormalizationTest.txt |
ᾃ␊ᾃ␊ᾃ
|
20 B | |
| 008444 | unicode/part4/line 19679 NormalizationTest.txt |
ᾃ␊ᾃ␊ᾃ
|
20 B | |
| 008445 | unicode/part4/line 19680 NormalizationTest.txt |
ᾃ␊ᾃ␊ᾃ
|
20 B | |
| 008446 | unicode/part4/line 19681 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
18 B | |
| 008447 | unicode/part4/line 19682 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
18 B | |
| 008448 | unicode/part4/line 19683 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
18 B | |
| 008449 | unicode/part4/line 19684 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
20 B | |
| 008450 | unicode/part4/line 19685 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
20 B | |
| 008451 | unicode/part4/line 19686 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
20 B | |
| 008452 | unicode/part4/line 19687 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
20 B | |
| 008453 | unicode/part4/line 19688 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
20 B | |
| 008454 | unicode/part4/line 19689 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
20 B | |
| 008455 | unicode/part4/line 19690 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
20 B | |
| 008456 | unicode/part4/line 19691 NormalizationTest.txt |
ᾄ␊ᾄ␊ᾄ
|
20 B | |
| 008457 | unicode/part4/line 19692 NormalizationTest.txt |
ᾅ␊ᾅ␊ᾅ
|
18 B | |
| 008458 | unicode/part4/line 19693 NormalizationTest.txt |
ᾅ␊ᾅ␊ᾅ
|
18 B | |
| 008459 | unicode/part4/line 19694 NormalizationTest.txt |
ᾅ␊ᾅ␊ᾅ
|
18 B | |
| 008460 | unicode/part4/line 19695 NormalizationTest.txt |
ᾅ␊ᾅ␊ᾅ
|
20 B | |
| 008461 | unicode/part4/line 19696 NormalizationTest.txt |
ᾅ␊ᾅ␊ᾅ
|
20 B | |
| 008462 | unicode/part4/line 19697 NormalizationTest.txt |
ᾅ␊ᾅ␊ᾅ
|
20 B | |
| 008463 | unicode/part4/line 19698 NormalizationTest.txt |
ᾅ␊ᾅ␊ᾅ
|
20 B | |
| 008464 | unicode/part4/line 19699 NormalizationTest.txt |
ᾅ␊ᾅ␊ᾅ
|
20 B | |
| 008465 | unicode/part4/line 19700 NormalizationTest.txt |
ᾅ␊ᾅ␊ᾅ
|
20 B | |
| 008466 | unicode/part4/line 19701 NormalizationTest.txt |
ᾆ␊ᾆ␊ᾆ
|
18 B | |
| 008467 | unicode/part4/line 19702 NormalizationTest.txt |
ᾆ␊ᾆ␊ᾆ
|
18 B | |
| 008468 | unicode/part4/line 19703 NormalizationTest.txt |
ᾆ␊ᾆ␊ᾆ
|
20 B | |
| 008469 | unicode/part4/line 19704 NormalizationTest.txt |
ᾆ␊ᾆ␊ᾆ
|
20 B | |
| 008470 | unicode/part4/line 19705 NormalizationTest.txt |
ᾆ␊ᾆ␊ᾆ
|
20 B | |
| 008471 | unicode/part4/line 19706 NormalizationTest.txt |
ᾆ␊ᾆ␊ᾆ
|
20 B | |
| 008472 | unicode/part4/line 19707 NormalizationTest.txt |
ᾇ␊ᾇ␊ᾇ
|
18 B | |
| 008473 | unicode/part4/line 19708 NormalizationTest.txt |
ᾇ␊ᾇ␊ᾇ
|
18 B | |
| 008474 | unicode/part4/line 19709 NormalizationTest.txt |
ᾇ␊ᾇ␊ᾇ
|
20 B | |
| 008475 | unicode/part4/line 19710 NormalizationTest.txt |
ᾇ␊ᾇ␊ᾇ
|
20 B | |
| 008476 | unicode/part4/line 19711 NormalizationTest.txt |
ᾇ␊ᾇ␊ᾇ
|
20 B | |
| 008477 | unicode/part4/line 19712 NormalizationTest.txt |
ᾈ␊ᾈ␊ᾈ
|
16 B | |
| 008478 | unicode/part4/line 19713 NormalizationTest.txt |
ᾈ␊ᾈ␊ᾈ
|
16 B | |
| 008479 | unicode/part4/line 19714 NormalizationTest.txt |
ᾈ␊ᾈ␊ᾈ
|
16 B | |
| 008480 | unicode/part4/line 19715 NormalizationTest.txt |
ᾉ␊ᾉ␊ᾉ
|
16 B | |
| 008481 | unicode/part4/line 19716 NormalizationTest.txt |
ᾉ␊ᾉ␊ᾉ
|
16 B | |
| 008482 | unicode/part4/line 19717 NormalizationTest.txt |
ᾊ␊ᾊ␊ᾊ
|
18 B | |
| 008483 | unicode/part4/line 19718 NormalizationTest.txt |
ᾊ␊ᾊ␊ᾊ
|
18 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