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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 000695 | unicode/part1/U+1E40 NormalizationTest.txt |
Ṁ␊Ṁ
|
7 B | |
| 000696 | unicode/part1/U+1E41 NormalizationTest.txt |
ṁ␊ṁ
|
7 B | |
| 000697 | unicode/part1/U+1E42 NormalizationTest.txt |
Ṃ␊Ṃ
|
7 B | |
| 000698 | unicode/part1/U+1E43 NormalizationTest.txt |
ṃ␊ṃ
|
7 B | |
| 000699 | unicode/part1/U+1E44 NormalizationTest.txt |
Ṅ␊Ṅ
|
7 B | |
| 000700 | unicode/part1/U+1E45 NormalizationTest.txt |
ṅ␊ṅ
|
7 B | |
| 000701 | unicode/part1/U+1E46 NormalizationTest.txt |
Ṇ␊Ṇ
|
7 B | |
| 000702 | unicode/part1/U+1E47 NormalizationTest.txt |
ṇ␊ṇ
|
7 B | |
| 000703 | unicode/part1/U+1E48 NormalizationTest.txt |
Ṉ␊Ṉ
|
7 B | |
| 000704 | unicode/part1/U+1E49 NormalizationTest.txt |
ṉ␊ṉ
|
7 B | |
| 000705 | unicode/part1/U+1E4A NormalizationTest.txt |
Ṋ␊Ṋ
|
7 B | |
| 000706 | unicode/part1/U+1E4B NormalizationTest.txt |
ṋ␊ṋ
|
7 B | |
| 000707 | unicode/part1/U+1E4C NormalizationTest.txt |
Ṍ␊Ṍ
|
9 B | |
| 000708 | unicode/part1/U+1E4D NormalizationTest.txt |
ṍ␊ṍ
|
9 B | |
| 000709 | unicode/part1/U+1E4E NormalizationTest.txt |
Ṏ␊Ṏ
|
9 B | |
| 000710 | unicode/part1/U+1E4F NormalizationTest.txt |
ṏ␊ṏ
|
9 B | |
| 000711 | unicode/part1/U+1E50 NormalizationTest.txt |
Ṑ␊Ṑ
|
9 B | |
| 000712 | unicode/part1/U+1E51 NormalizationTest.txt |
ṑ␊ṑ
|
9 B | |
| 000713 | unicode/part1/U+1E52 NormalizationTest.txt |
Ṓ␊Ṓ
|
9 B | |
| 000714 | unicode/part1/U+1E53 NormalizationTest.txt |
ṓ␊ṓ
|
9 B | |
| 000715 | unicode/part1/U+1E54 NormalizationTest.txt |
Ṕ␊Ṕ
|
7 B | |
| 000716 | unicode/part1/U+1E55 NormalizationTest.txt |
ṕ␊ṕ
|
7 B | |
| 000717 | unicode/part1/U+1E56 NormalizationTest.txt |
Ṗ␊Ṗ
|
7 B | |
| 000718 | unicode/part1/U+1E57 NormalizationTest.txt |
ṗ␊ṗ
|
7 B | |
| 000719 | unicode/part1/U+1E58 NormalizationTest.txt |
Ṙ␊Ṙ
|
7 B | |
| 000720 | unicode/part1/U+1E59 NormalizationTest.txt |
ṙ␊ṙ
|
7 B | |
| 000721 | unicode/part1/U+1E5A NormalizationTest.txt |
Ṛ␊Ṛ
|
7 B | |
| 000722 | unicode/part1/U+1E5B NormalizationTest.txt |
ṛ␊ṛ
|
7 B | |
| 000723 | unicode/part1/U+1E5C NormalizationTest.txt |
Ṝ␊Ṝ
|
9 B | |
| 000724 | unicode/part1/U+1E5D NormalizationTest.txt |
ṝ␊ṝ
|
9 B | |
| 000725 | unicode/part1/U+1E5E NormalizationTest.txt |
Ṟ␊Ṟ
|
7 B | |
| 000726 | unicode/part1/U+1E5F NormalizationTest.txt |
ṟ␊ṟ
|
7 B | |
| 000727 | unicode/part1/U+1E60 NormalizationTest.txt |
Ṡ␊Ṡ
|
7 B | |
| 000728 | unicode/part1/U+1E61 NormalizationTest.txt |
ṡ␊ṡ
|
7 B | |
| 000729 | unicode/part1/U+1E62 NormalizationTest.txt |
Ṣ␊Ṣ
|
7 B | |
| 000730 | unicode/part1/U+1E63 NormalizationTest.txt |
ṣ␊ṣ
|
7 B | |
| 000731 | unicode/part1/U+1E64 NormalizationTest.txt |
Ṥ␊Ṥ
|
9 B | |
| 000732 | unicode/part1/U+1E65 NormalizationTest.txt |
ṥ␊ṥ
|
9 B | |
| 000733 | unicode/part1/U+1E66 NormalizationTest.txt |
Ṧ␊Ṧ
|
9 B | |
| 000734 | unicode/part1/U+1E67 NormalizationTest.txt |
ṧ␊ṧ
|
9 B | |
| 000735 | unicode/part1/U+1E68 NormalizationTest.txt |
Ṩ␊Ṩ
|
9 B | |
| 000736 | unicode/part1/U+1E69 NormalizationTest.txt |
ṩ␊ṩ
|
9 B | |
| 000737 | unicode/part1/U+1E6A NormalizationTest.txt |
Ṫ␊Ṫ
|
7 B | |
| 000738 | unicode/part1/U+1E6B NormalizationTest.txt |
ṫ␊ṫ
|
7 B | |
| 000739 | unicode/part1/U+1E6C NormalizationTest.txt |
Ṭ␊Ṭ
|
7 B | |
| 000740 | unicode/part1/U+1E6D NormalizationTest.txt |
ṭ␊ṭ
|
7 B | |
| 000741 | unicode/part1/U+1E6E NormalizationTest.txt |
Ṯ␊Ṯ
|
7 B | |
| 000742 | unicode/part1/U+1E6F NormalizationTest.txt |
ṯ␊ṯ
|
7 B | |
| 000743 | unicode/part1/U+1E70 NormalizationTest.txt |
Ṱ␊Ṱ
|
7 B | |
| 000744 | unicode/part1/U+1E71 NormalizationTest.txt |
ṱ␊ṱ
|
7 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