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 |
|---|---|---|---|---|
| 008500 | unicode/part4/line 19735 NormalizationTest.txt |
ᾋ␊ᾋ␊ᾋ
|
20 B | |
| 008501 | unicode/part4/line 19736 NormalizationTest.txt |
ᾋ␊ᾋ␊ᾋ
|
20 B | |
| 008502 | unicode/part4/line 19737 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
18 B | |
| 008503 | unicode/part4/line 19738 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
18 B | |
| 008504 | unicode/part4/line 19739 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
18 B | |
| 008505 | unicode/part4/line 19740 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
20 B | |
| 008506 | unicode/part4/line 19741 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
20 B | |
| 008507 | unicode/part4/line 19742 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
20 B | |
| 008508 | unicode/part4/line 19743 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
20 B | |
| 008509 | unicode/part4/line 19744 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
20 B | |
| 008510 | unicode/part4/line 19745 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
20 B | |
| 008511 | unicode/part4/line 19746 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
20 B | |
| 008512 | unicode/part4/line 19747 NormalizationTest.txt |
ᾌ␊ᾌ␊ᾌ
|
20 B | |
| 008513 | unicode/part4/line 19748 NormalizationTest.txt |
ᾍ␊ᾍ␊ᾍ
|
18 B | |
| 008514 | unicode/part4/line 19749 NormalizationTest.txt |
ᾍ␊ᾍ␊ᾍ
|
18 B | |
| 008515 | unicode/part4/line 19750 NormalizationTest.txt |
ᾍ␊ᾍ␊ᾍ
|
18 B | |
| 008516 | unicode/part4/line 19751 NormalizationTest.txt |
ᾍ␊ᾍ␊ᾍ
|
20 B | |
| 008517 | unicode/part4/line 19752 NormalizationTest.txt |
ᾍ␊ᾍ␊ᾍ
|
20 B | |
| 008518 | unicode/part4/line 19753 NormalizationTest.txt |
ᾍ␊ᾍ␊ᾍ
|
20 B | |
| 008519 | unicode/part4/line 19754 NormalizationTest.txt |
ᾍ␊ᾍ␊ᾍ
|
20 B | |
| 008520 | unicode/part4/line 19755 NormalizationTest.txt |
ᾍ␊ᾍ␊ᾍ
|
20 B | |
| 008521 | unicode/part4/line 19756 NormalizationTest.txt |
ᾍ␊ᾍ␊ᾍ
|
20 B | |
| 008522 | unicode/part4/line 19757 NormalizationTest.txt |
ᾎ␊ᾎ␊ᾎ
|
18 B | |
| 008523 | unicode/part4/line 19758 NormalizationTest.txt |
ᾎ␊ᾎ␊ᾎ
|
18 B | |
| 008524 | unicode/part4/line 19759 NormalizationTest.txt |
ᾎ␊ᾎ␊ᾎ
|
20 B | |
| 008525 | unicode/part4/line 19760 NormalizationTest.txt |
ᾎ␊ᾎ␊ᾎ
|
20 B | |
| 008526 | unicode/part4/line 19761 NormalizationTest.txt |
ᾎ␊ᾎ␊ᾎ
|
20 B | |
| 008527 | unicode/part4/line 19762 NormalizationTest.txt |
ᾎ␊ᾎ␊ᾎ
|
20 B | |
| 008528 | unicode/part4/line 19763 NormalizationTest.txt |
ᾏ␊ᾏ␊ᾏ
|
18 B | |
| 008529 | unicode/part4/line 19764 NormalizationTest.txt |
ᾏ␊ᾏ␊ᾏ
|
18 B | |
| 008530 | unicode/part4/line 19765 NormalizationTest.txt |
ᾏ␊ᾏ␊ᾏ
|
20 B | |
| 008531 | unicode/part4/line 19766 NormalizationTest.txt |
ᾏ␊ᾏ␊ᾏ
|
20 B | |
| 008532 | unicode/part4/line 19767 NormalizationTest.txt |
ᾏ␊ᾏ␊ᾏ
|
20 B | |
| 008533 | unicode/part4/line 19768 NormalizationTest.txt |
ᾐ␊ᾐ␊ᾐ
|
16 B | |
| 008534 | unicode/part4/line 19769 NormalizationTest.txt |
ᾐ␊ᾐ␊ᾐ
|
16 B | |
| 008535 | unicode/part4/line 19770 NormalizationTest.txt |
ᾐ␊ᾐ␊ᾐ
|
16 B | |
| 008536 | unicode/part4/line 19771 NormalizationTest.txt |
ᾑ␊ᾑ␊ᾑ
|
16 B | |
| 008537 | unicode/part4/line 19772 NormalizationTest.txt |
ᾑ␊ᾑ␊ᾑ
|
16 B | |
| 008538 | unicode/part4/line 19773 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
18 B | |
| 008539 | unicode/part4/line 19774 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
18 B | |
| 008540 | unicode/part4/line 19775 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
18 B | |
| 008541 | unicode/part4/line 19776 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
20 B | |
| 008542 | unicode/part4/line 19777 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
20 B | |
| 008543 | unicode/part4/line 19778 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
20 B | |
| 008544 | unicode/part4/line 19779 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
20 B | |
| 008545 | unicode/part4/line 19780 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
20 B | |
| 008546 | unicode/part4/line 19781 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
20 B | |
| 008547 | unicode/part4/line 19782 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
20 B | |
| 008548 | unicode/part4/line 19783 NormalizationTest.txt |
ᾒ␊ᾒ␊ᾒ
|
20 B | |
| 008549 | unicode/part4/line 19784 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