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 |
|---|---|---|---|---|
| 000109 | unicode/part1/U+00FD NormalizationTest.txt |
ý␊ý
|
6 B | |
| 000110 | unicode/part1/U+00FF NormalizationTest.txt |
ÿ␊ÿ
|
6 B | |
| 000111 | unicode/part1/U+0100 NormalizationTest.txt |
Ā␊Ā
|
6 B | |
| 000112 | unicode/part1/U+0101 NormalizationTest.txt |
ā␊ā
|
6 B | |
| 000113 | unicode/part1/U+0102 NormalizationTest.txt |
Ă␊Ă
|
6 B | |
| 000114 | unicode/part1/U+0103 NormalizationTest.txt |
ă␊ă
|
6 B | |
| 000115 | unicode/part1/U+0104 NormalizationTest.txt |
Ą␊Ą
|
6 B | |
| 000116 | unicode/part1/U+0105 NormalizationTest.txt |
ą␊ą
|
6 B | |
| 000117 | unicode/part1/U+0106 NormalizationTest.txt |
Ć␊Ć
|
6 B | |
| 000118 | unicode/part1/U+0107 NormalizationTest.txt |
ć␊ć
|
6 B | |
| 000119 | unicode/part1/U+0108 NormalizationTest.txt |
Ĉ␊Ĉ
|
6 B | |
| 000120 | unicode/part1/U+0109 NormalizationTest.txt |
ĉ␊ĉ
|
6 B | |
| 000121 | unicode/part1/U+010A NormalizationTest.txt |
Ċ␊Ċ
|
6 B | |
| 000122 | unicode/part1/U+010B NormalizationTest.txt |
ċ␊ċ
|
6 B | |
| 000123 | unicode/part1/U+010C NormalizationTest.txt |
Č␊Č
|
6 B | |
| 000124 | unicode/part1/U+010D NormalizationTest.txt |
č␊č
|
6 B | |
| 000125 | unicode/part1/U+010E NormalizationTest.txt |
Ď␊Ď
|
6 B | |
| 000126 | unicode/part1/U+010F NormalizationTest.txt |
ď␊ď
|
6 B | |
| 000127 | unicode/part1/U+0113 NormalizationTest.txt |
ē␊ē
|
6 B | |
| 000128 | unicode/part1/U+0114 NormalizationTest.txt |
Ĕ␊Ĕ
|
6 B | |
| 000129 | unicode/part1/U+0115 NormalizationTest.txt |
ĕ␊ĕ
|
6 B | |
| 000130 | unicode/part1/U+0116 NormalizationTest.txt |
Ė␊Ė
|
6 B | |
| 000131 | unicode/part1/U+0117 NormalizationTest.txt |
ė␊ė
|
6 B | |
| 000132 | unicode/part1/U+0118 NormalizationTest.txt |
Ę␊Ę
|
6 B | |
| 000133 | unicode/part1/U+0119 NormalizationTest.txt |
ę␊ę
|
6 B | |
| 000134 | unicode/part1/U+011A NormalizationTest.txt |
Ě␊Ě
|
6 B | |
| 000135 | unicode/part1/U+011B NormalizationTest.txt |
ě␊ě
|
6 B | |
| 000136 | unicode/part1/U+011C NormalizationTest.txt |
Ĝ␊Ĝ
|
6 B | |
| 000137 | unicode/part1/U+011D NormalizationTest.txt |
ĝ␊ĝ
|
6 B | |
| 000138 | unicode/part1/U+011E NormalizationTest.txt |
Ğ␊Ğ
|
6 B | |
| 000139 | unicode/part1/U+011F NormalizationTest.txt |
ğ␊ğ
|
6 B | |
| 000140 | unicode/part1/U+0120 NormalizationTest.txt |
Ġ␊Ġ
|
6 B | |
| 000141 | unicode/part1/U+0121 NormalizationTest.txt |
ġ␊ġ
|
6 B | |
| 000142 | unicode/part1/U+0122 NormalizationTest.txt |
Ģ␊Ģ
|
6 B | |
| 000143 | unicode/part1/U+0123 NormalizationTest.txt |
ģ␊ģ
|
6 B | |
| 000144 | unicode/part1/U+0124 NormalizationTest.txt |
Ĥ␊Ĥ
|
6 B | |
| 000145 | unicode/part1/U+0125 NormalizationTest.txt |
ĥ␊ĥ
|
6 B | |
| 000146 | unicode/part1/U+0128 NormalizationTest.txt |
Ĩ␊Ĩ
|
6 B | |
| 000147 | unicode/part1/U+0129 NormalizationTest.txt |
ĩ␊ĩ
|
6 B | |
| 000148 | unicode/part1/U+012A NormalizationTest.txt |
Ī␊Ī
|
6 B | |
| 000149 | unicode/part1/U+012B NormalizationTest.txt |
ī␊ī
|
6 B | |
| 000150 | unicode/part1/U+012C NormalizationTest.txt |
Ĭ␊Ĭ
|
6 B | |
| 000151 | unicode/part1/U+012D NormalizationTest.txt |
ĭ␊ĭ
|
6 B | |
| 000152 | unicode/part1/U+012E NormalizationTest.txt |
Į␊Į
|
6 B | |
| 000153 | unicode/part1/U+012F NormalizationTest.txt |
į␊į
|
6 B | |
| 000154 | unicode/part1/U+0130 NormalizationTest.txt |
İ␊İ
|
6 B | |
| 000157 | unicode/part1/U+0134 NormalizationTest.txt |
Ĵ␊Ĵ
|
6 B | |
| 000158 | unicode/part1/U+0135 NormalizationTest.txt |
ĵ␊ĵ
|
6 B | |
| 000159 | unicode/part1/U+0136 NormalizationTest.txt |
Ķ␊Ķ
|
6 B | |
| 000160 | unicode/part1/U+0137 NormalizationTest.txt |
ķ␊ķ
|
6 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