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 |
|---|---|---|---|---|
| 008134 | unicode/part4/line 19369 NormalizationTest.txt |
ḕ␊ḕ␊ḕ
|
14 B | |
| 008135 | unicode/part4/line 19370 NormalizationTest.txt |
ḕ␊ḕ␊ḕ
|
14 B | |
| 008136 | unicode/part4/line 19371 NormalizationTest.txt |
Ḗ␊Ḗ␊Ḗ
|
14 B | |
| 008137 | unicode/part4/line 19372 NormalizationTest.txt |
Ḗ␊Ḗ␊Ḗ
|
14 B | |
| 008138 | unicode/part4/line 19373 NormalizationTest.txt |
ḗ␊ḗ␊ḗ
|
14 B | |
| 008139 | unicode/part4/line 19374 NormalizationTest.txt |
ḗ␊ḗ␊ḗ
|
14 B | |
| 008140 | unicode/part4/line 19375 NormalizationTest.txt |
Ḝ␊Ḝ␊Ḝ
|
14 B | |
| 008141 | unicode/part4/line 19376 NormalizationTest.txt |
Ḝ␊Ḝ␊Ḝ
|
14 B | |
| 008142 | unicode/part4/line 19377 NormalizationTest.txt |
ḝ␊ḝ␊ḝ
|
14 B | |
| 008143 | unicode/part4/line 19378 NormalizationTest.txt |
ḝ␊ḝ␊ḝ
|
14 B | |
| 008144 | unicode/part4/line 19379 NormalizationTest.txt |
Ḯ␊Ḯ␊Ḯ
|
13 B | |
| 008145 | unicode/part4/line 19380 NormalizationTest.txt |
Ḯ␊Ḯ␊Ḯ
|
14 B | |
| 008146 | unicode/part4/line 19381 NormalizationTest.txt |
Ḯ␊Ḯ␊Ḯ
|
14 B | |
| 008147 | unicode/part4/line 19382 NormalizationTest.txt |
ḯ␊ḯ␊ḯ
|
13 B | |
| 008148 | unicode/part4/line 19383 NormalizationTest.txt |
ḯ␊ḯ␊ḯ
|
14 B | |
| 008149 | unicode/part4/line 19384 NormalizationTest.txt |
ḯ␊ḯ␊ḯ
|
14 B | |
| 008150 | unicode/part4/line 19385 NormalizationTest.txt |
Ḹ␊Ḹ␊Ḹ
|
15 B | |
| 008151 | unicode/part4/line 19386 NormalizationTest.txt |
ḹ␊ḹ␊ḹ
|
15 B | |
| 008152 | unicode/part4/line 19387 NormalizationTest.txt |
Ṍ␊Ṍ␊Ṍ
|
14 B | |
| 008153 | unicode/part4/line 19388 NormalizationTest.txt |
Ṍ␊Ṍ␊Ṍ
|
14 B | |
| 008154 | unicode/part4/line 19389 NormalizationTest.txt |
ṍ␊ṍ␊ṍ
|
14 B | |
| 008155 | unicode/part4/line 19390 NormalizationTest.txt |
ṍ␊ṍ␊ṍ
|
14 B | |
| 008156 | unicode/part4/line 19391 NormalizationTest.txt |
Ṏ␊Ṏ␊Ṏ
|
14 B | |
| 008157 | unicode/part4/line 19392 NormalizationTest.txt |
ṏ␊ṏ␊ṏ
|
14 B | |
| 008158 | unicode/part4/line 19393 NormalizationTest.txt |
Ṑ␊Ṑ␊Ṑ
|
14 B | |
| 008159 | unicode/part4/line 19394 NormalizationTest.txt |
Ṑ␊Ṑ␊Ṑ
|
14 B | |
| 008160 | unicode/part4/line 19395 NormalizationTest.txt |
ṑ␊ṑ␊ṑ
|
14 B | |
| 008161 | unicode/part4/line 19396 NormalizationTest.txt |
ṑ␊ṑ␊ṑ
|
14 B | |
| 008162 | unicode/part4/line 19397 NormalizationTest.txt |
Ṓ␊Ṓ␊Ṓ
|
14 B | |
| 008163 | unicode/part4/line 19398 NormalizationTest.txt |
Ṓ␊Ṓ␊Ṓ
|
14 B | |
| 008164 | unicode/part4/line 19399 NormalizationTest.txt |
ṓ␊ṓ␊ṓ
|
14 B | |
| 008165 | unicode/part4/line 19400 NormalizationTest.txt |
ṓ␊ṓ␊ṓ
|
14 B | |
| 008166 | unicode/part4/line 19401 NormalizationTest.txt |
Ṝ␊Ṝ␊Ṝ
|
15 B | |
| 008167 | unicode/part4/line 19402 NormalizationTest.txt |
ṝ␊ṝ␊ṝ
|
15 B | |
| 008168 | unicode/part4/line 19403 NormalizationTest.txt |
Ṥ␊Ṥ␊Ṥ
|
14 B | |
| 008169 | unicode/part4/line 19404 NormalizationTest.txt |
ṥ␊ṥ␊ṥ
|
14 B | |
| 008170 | unicode/part4/line 19405 NormalizationTest.txt |
Ṧ␊Ṧ␊Ṧ
|
14 B | |
| 008171 | unicode/part4/line 19406 NormalizationTest.txt |
ṧ␊ṧ␊ṧ
|
14 B | |
| 008172 | unicode/part4/line 19407 NormalizationTest.txt |
Ṩ␊Ṩ␊Ṩ
|
15 B | |
| 008173 | unicode/part4/line 19408 NormalizationTest.txt |
Ṩ␊Ṩ␊Ṩ
|
15 B | |
| 008174 | unicode/part4/line 19409 NormalizationTest.txt |
ṩ␊ṩ␊ṩ
|
15 B | |
| 008175 | unicode/part4/line 19410 NormalizationTest.txt |
ṩ␊ṩ␊ṩ
|
15 B | |
| 008176 | unicode/part4/line 19411 NormalizationTest.txt |
Ṹ␊Ṹ␊Ṹ
|
14 B | |
| 008177 | unicode/part4/line 19412 NormalizationTest.txt |
Ṹ␊Ṹ␊Ṹ
|
14 B | |
| 008178 | unicode/part4/line 19413 NormalizationTest.txt |
ṹ␊ṹ␊ṹ
|
14 B | |
| 008179 | unicode/part4/line 19414 NormalizationTest.txt |
ṹ␊ṹ␊ṹ
|
14 B | |
| 008180 | unicode/part4/line 19415 NormalizationTest.txt |
Ṻ␊Ṻ␊Ṻ
|
14 B | |
| 008181 | unicode/part4/line 19416 NormalizationTest.txt |
ṻ␊ṻ␊ṻ
|
14 B | |
| 008182 | unicode/part4/line 19417 NormalizationTest.txt |
Ấ␊Ấ␊Ấ
|
14 B | |
| 008183 | unicode/part4/line 19418 NormalizationTest.txt |
Ấ␊Ấ␊Ấ
|
14 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