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
956 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 000664 | unicode/part1/U+1E21 NormalizationTest.txt |
ḡ␊ḡ
|
7 B | |
| 000665 | unicode/part1/U+1E22 NormalizationTest.txt |
Ḣ␊Ḣ
|
7 B | |
| 000666 | unicode/part1/U+1E23 NormalizationTest.txt |
ḣ␊ḣ
|
7 B | |
| 000667 | unicode/part1/U+1E24 NormalizationTest.txt |
Ḥ␊Ḥ
|
7 B | |
| 000668 | unicode/part1/U+1E25 NormalizationTest.txt |
ḥ␊ḥ
|
7 B | |
| 000669 | unicode/part1/U+1E26 NormalizationTest.txt |
Ḧ␊Ḧ
|
7 B | |
| 000670 | unicode/part1/U+1E27 NormalizationTest.txt |
ḧ␊ḧ
|
7 B | |
| 000671 | unicode/part1/U+1E28 NormalizationTest.txt |
Ḩ␊Ḩ
|
7 B | |
| 000672 | unicode/part1/U+1E29 NormalizationTest.txt |
ḩ␊ḩ
|
7 B | |
| 000673 | unicode/part1/U+1E2A NormalizationTest.txt |
Ḫ␊Ḫ
|
7 B | |
| 000674 | unicode/part1/U+1E2B NormalizationTest.txt |
ḫ␊ḫ
|
7 B | |
| 000675 | unicode/part1/U+1E2C NormalizationTest.txt |
Ḭ␊Ḭ
|
7 B | |
| 000676 | unicode/part1/U+1E2D NormalizationTest.txt |
ḭ␊ḭ
|
7 B | |
| 000677 | unicode/part1/U+1E2E NormalizationTest.txt |
Ḯ␊Ḯ
|
9 B | |
| 000678 | unicode/part1/U+1E2F NormalizationTest.txt |
ḯ␊ḯ
|
9 B | |
| 000679 | unicode/part1/U+1E30 NormalizationTest.txt |
Ḱ␊Ḱ
|
7 B | |
| 000680 | unicode/part1/U+1E31 NormalizationTest.txt |
ḱ␊ḱ
|
7 B | |
| 000681 | unicode/part1/U+1E32 NormalizationTest.txt |
Ḳ␊Ḳ
|
7 B | |
| 000682 | unicode/part1/U+1E33 NormalizationTest.txt |
ḳ␊ḳ
|
7 B | |
| 000683 | unicode/part1/U+1E34 NormalizationTest.txt |
Ḵ␊Ḵ
|
7 B | |
| 000684 | unicode/part1/U+1E35 NormalizationTest.txt |
ḵ␊ḵ
|
7 B | |
| 000685 | unicode/part1/U+1E36 NormalizationTest.txt |
Ḷ␊Ḷ
|
7 B | |
| 000686 | unicode/part1/U+1E37 NormalizationTest.txt |
ḷ␊ḷ
|
7 B | |
| 000687 | unicode/part1/U+1E38 NormalizationTest.txt |
Ḹ␊Ḹ
|
9 B | |
| 000688 | unicode/part1/U+1E39 NormalizationTest.txt |
ḹ␊ḹ
|
9 B | |
| 000689 | unicode/part1/U+1E3A NormalizationTest.txt |
Ḻ␊Ḻ
|
7 B | |
| 000690 | unicode/part1/U+1E3B NormalizationTest.txt |
ḻ␊ḻ
|
7 B | |
| 000691 | unicode/part1/U+1E3C NormalizationTest.txt |
Ḽ␊Ḽ
|
7 B | |
| 000692 | unicode/part1/U+1E3D NormalizationTest.txt |
ḽ␊ḽ
|
7 B | |
| 000693 | unicode/part1/U+1E3E NormalizationTest.txt |
Ḿ␊Ḿ
|
7 B | |
| 000694 | unicode/part1/U+1E3F NormalizationTest.txt |
ḿ␊ḿ
|
7 B | |
| 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 |
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