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
734 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 009477 | regression/block/Cyrillic/acute at 44 Focused regression |
ееееееееееееееееееееее́ееееееееееееееееееее
|
86 B | |
| 009478 | regression/block/Cyrillic/angstrom sign at 44 Focused regression |
ееееееееееееееееееееееÅееееееееееееееееееее
|
87 B | |
| 009479 | regression/block/Cyrillic/jamo at 44 Focused regression |
ееееееееееееееееееееее각ееееееееееееееееееее
|
93 B | |
| 009480 | regression/block/Cyrillic/qa at 44 Focused regression |
ееееееееееееееееееееееक़ееееееееееееееееееее
|
87 B | |
| 009481 | regression/block/Cyrillic/marks to reorder at 44 Focused regression |
ееееееееееееееееееееее̣́ееееееееееееееееееее
|
88 B | |
| 009482 | regression/block/Cyrillic/a + circumflex + acute at 44 Focused regression |
ееееееееееееееееееееееấееееееееееееееееееее
|
89 B | |
| 009483 | regression/block/Cyrillic/precomposed at 44 Focused regression |
ееееееееееееееееееееееấееееееееееееееееееее
|
87 B | |
| 009484 | regression/block/Cyrillic/musical symbol at 44 Focused regression |
ееееееееееееееееееееее𝅗𝅥ееееееееееееееееееее
|
88 B | |
| 009485 | regression/block/Cyrillic/e + acute at 46 Focused regression |
еееееееееееееееееееееееéееееееееееееееееееее
|
89 B | |
| 009486 | regression/block/Cyrillic/acute at 46 Focused regression |
еееееееееееееееееееееее́ееееееееееееееееееее
|
88 B | |
| 009487 | regression/block/Cyrillic/angstrom sign at 46 Focused regression |
еееееееееееееееееееееееÅееееееееееееееееееее
|
89 B | |
| 009488 | regression/block/Cyrillic/jamo at 46 Focused regression |
еееееееееееееееееееееее각ееееееееееееееееееее
|
95 B | |
| 009489 | regression/block/Cyrillic/qa at 46 Focused regression |
еееееееееееееееееееееееक़ееееееееееееееееееее
|
89 B | |
| 009490 | regression/block/Cyrillic/marks to reorder at 46 Focused regression |
еееееееееееееееееееееее̣́ееееееееееееееееееее
|
90 B | |
| 009491 | regression/block/Cyrillic/a + circumflex + acute at 46 Focused regression |
еееееееееееееееееееееееấееееееееееееееееееее
|
91 B | |
| 009492 | regression/block/Cyrillic/precomposed at 46 Focused regression |
еееееееееееееееееееееееấееееееееееееееееееее
|
89 B | |
| 009493 | regression/block/Cyrillic/musical symbol at 46 Focused regression |
еееееееееееееееееееееее𝅗𝅥ееееееееееееееееееее
|
90 B | |
| 009494 | regression/block/Cyrillic/e + acute at 48 Focused regression |
ееееееееееееееееееееееееéееееееееееееееееееее
|
91 B | |
| 009495 | regression/block/Cyrillic/acute at 48 Focused regression |
ееееееееееееееееееееееее́ееееееееееееееееееее
|
90 B | |
| 009496 | regression/block/Cyrillic/angstrom sign at 48 Focused regression |
ееееееееееееееееееееееееÅееееееееееееееееееее
|
91 B | |
| 009497 | regression/block/Cyrillic/jamo at 48 Focused regression |
ееееееееееееееееееееееее각ееееееееееееееееееее
|
97 B | |
| 009498 | regression/block/Cyrillic/qa at 48 Focused regression |
ееееееееееееееееееееееееक़ееееееееееееееееееее
|
91 B | |
| 009499 | regression/block/Cyrillic/marks to reorder at 48 Focused regression |
ееееееееееееееееееееееее̣́ееееееееееееееееееее
|
92 B | |
| 009500 | regression/block/Cyrillic/a + circumflex + acute at 48 Focused regression |
ееееееееееееееееееееееееấееееееееееееееееееее
|
93 B | |
| 009501 | regression/block/Cyrillic/precomposed at 48 Focused regression |
ееееееееееееееееееееееееấееееееееееееееееееее
|
91 B | |
| 009502 | regression/block/Cyrillic/musical symbol at 48 Focused regression |
ееееееееееееееееееееееее𝅗𝅥ееееееееееееееееееее
|
92 B | |
| 009503 | regression/block/Cyrillic/e + acute at 60 Focused regression |
ееееееееееееееееееееееееееееееéеееееееееееееееее…
|
103 B | |
| 009504 | regression/block/Cyrillic/acute at 60 Focused regression |
ееееееееееееееееееееееееееееее́ееееееееееееееееее…
|
102 B | |
| 009505 | regression/block/Cyrillic/angstrom sign at 60 Focused regression |
ееееееееееееееееееееееееееееееÅеееееееееееееееее…
|
103 B | |
| 009506 | regression/block/Cyrillic/jamo at 60 Focused regression |
ееееееееееееееееееееееееееееее각еееееееееееееееее…
|
109 B | |
| 009507 | regression/block/Cyrillic/qa at 60 Focused regression |
ееееееееееееееееееееееееееееееक़еееееееееееееееее…
|
103 B | |
| 009508 | regression/block/Cyrillic/marks to reorder at 60 Focused regression |
ееееееееееееееееееееееееееееее̣́ееееееееееееееееее…
|
104 B | |
| 009509 | regression/block/Cyrillic/a + circumflex + acute at 60 Focused regression |
ееееееееееееееееееееееееееееееấеееееееееееееееее…
|
105 B | |
| 009510 | regression/block/Cyrillic/precomposed at 60 Focused regression |
ееееееееееееееееееееееееееееееấеееееееееееееееее…
|
103 B | |
| 009511 | regression/block/Cyrillic/musical symbol at 60 Focused regression |
ееееееееееееееееееееееееееееее𝅗𝅥еееееееееееееееее…
|
104 B | |
| 009512 | regression/block/Cyrillic/e + acute at 62 Focused regression |
еееееееееееееееееееееееееееееееéееееееееееееееее…
|
105 B | |
| 009513 | regression/block/Cyrillic/acute at 62 Focused regression |
еееееееееееееееееееееееееееееее́еееееееееееееееее…
|
104 B | |
| 009514 | regression/block/Cyrillic/angstrom sign at 62 Focused regression |
еееееееееееееееееееееееееееееееÅееееееееееееееее…
|
105 B | |
| 009515 | regression/block/Cyrillic/jamo at 62 Focused regression |
еееееееееееееееееееееееееееееее각ееееееееееееееее…
|
111 B | |
| 009516 | regression/block/Cyrillic/qa at 62 Focused regression |
еееееееееееееееееееееееееееееееक़ееееееееееееееее…
|
105 B | |
| 009517 | regression/block/Cyrillic/marks to reorder at 62 Focused regression |
еееееееееееееееееееееееееееееее̣́еееееееееееееееее…
|
106 B | |
| 009518 | regression/block/Cyrillic/a + circumflex + acute at 62 Focused regression |
еееееееееееееееееееееееееееееееấееееееееееееееее…
|
107 B | |
| 009519 | regression/block/Cyrillic/precomposed at 62 Focused regression |
еееееееееееееееееееееееееееееееấееееееееееееееее…
|
105 B | |
| 009520 | regression/block/Cyrillic/musical symbol at 62 Focused regression |
еееееееееееееееееееееееееееееее𝅗𝅥ееееееееееееееее…
|
106 B | |
| 009521 | regression/block/Cyrillic/e + acute at 64 Focused regression |
ееееееееееееееееееееееееееееееееéеееееееееееееее…
|
107 B | |
| 009522 | regression/block/Cyrillic/acute at 64 Focused regression |
ееееееееееееееееееееееееееееееее́ееееееееееееееее…
|
106 B | |
| 009523 | regression/block/Cyrillic/angstrom sign at 64 Focused regression |
ееееееееееееееееееееееееееееееееÅеееееееееееееее…
|
107 B | |
| 009524 | regression/block/Cyrillic/jamo at 64 Focused regression |
ееееееееееееееееееееееееееееееее각еееееееееееееее…
|
113 B | |
| 009525 | regression/block/Cyrillic/qa at 64 Focused regression |
ееееееееееееееееееееееееееееееееक़еееееееееееееее…
|
107 B | |
| 009526 | regression/block/Cyrillic/marks to reorder at 64 Focused regression |
ееееееееееееееееееееееееееееееее̣́ееееееееееееееее…
|
108 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