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 |
|---|---|---|---|---|
| 009527 | regression/block/Cyrillic/a + circumflex + acute at 64 Focused regression |
ееееееееееееееееееееееееееееееееấеееееееееееееее…
|
109 B | |
| 009528 | regression/block/Cyrillic/precomposed at 64 Focused regression |
ееееееееееееееееееееееееееееееееấеееееееееееееее…
|
107 B | |
| 009529 | regression/block/Cyrillic/musical symbol at 64 Focused regression |
ееееееееееееееееееееееееееееееее𝅗𝅥еееееееееееееее…
|
108 B | |
| 009530 | regression/block/Cyrillic/e + acute at 124 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
167 B | |
| 009531 | regression/block/Cyrillic/acute at 124 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
166 B | |
| 009532 | regression/block/Cyrillic/angstrom sign at 124 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
167 B | |
| 009533 | regression/block/Cyrillic/jamo at 124 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
173 B | |
| 009534 | regression/block/Cyrillic/qa at 124 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
167 B | |
| 009535 | regression/block/Cyrillic/marks to reorder at 124 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
168 B | |
| 009536 | regression/block/Cyrillic/a + circumflex + acute at 124 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
169 B | |
| 009537 | regression/block/Cyrillic/precomposed at 124 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
167 B | |
| 009538 | regression/block/Cyrillic/musical symbol at 124 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
168 B | |
| 009539 | regression/block/Cyrillic/e + acute at 126 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
169 B | |
| 009540 | regression/block/Cyrillic/acute at 126 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
168 B | |
| 009541 | regression/block/Cyrillic/angstrom sign at 126 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
169 B | |
| 009542 | regression/block/Cyrillic/jamo at 126 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
175 B | |
| 009543 | regression/block/Cyrillic/qa at 126 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
169 B | |
| 009544 | regression/block/Cyrillic/marks to reorder at 126 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
170 B | |
| 009545 | regression/block/Cyrillic/a + circumflex + acute at 126 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
171 B | |
| 009546 | regression/block/Cyrillic/precomposed at 126 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
169 B | |
| 009547 | regression/block/Cyrillic/musical symbol at 126 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
170 B | |
| 009548 | regression/block/Cyrillic/e + acute at 128 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
171 B | |
| 009549 | regression/block/Cyrillic/acute at 128 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
170 B | |
| 009550 | regression/block/Cyrillic/angstrom sign at 128 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
171 B | |
| 009551 | regression/block/Cyrillic/jamo at 128 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
177 B | |
| 009552 | regression/block/Cyrillic/qa at 128 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
171 B | |
| 009553 | regression/block/Cyrillic/marks to reorder at 128 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
172 B | |
| 009554 | regression/block/Cyrillic/a + circumflex + acute at 128 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
173 B | |
| 009555 | regression/block/Cyrillic/precomposed at 128 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
171 B | |
| 009556 | regression/block/Cyrillic/musical symbol at 128 Focused regression |
ееееееееееееееееееееееееееееееееееееееееееееееее…
|
172 B | |
| 009557 | regression/window/e + acute at 1020 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009558 | regression/window/jamo at 1020 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009559 | regression/window/e + acute at 1021 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009560 | regression/window/jamo at 1021 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009561 | regression/window/e + acute at 1022 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009562 | regression/window/jamo at 1022 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009563 | regression/window/e + acute at 1023 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009564 | regression/window/jamo at 1023 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009565 | regression/window/e + acute at 1024 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009566 | regression/window/jamo at 1024 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009567 | regression/window/e + acute at 1025 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009568 | regression/window/jamo at 1025 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
1.0 KiB | |
| 009569 | regression/window/e + acute at 4092 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009570 | regression/window/jamo at 4092 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009571 | regression/window/e + acute at 4093 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009572 | regression/window/jamo at 4093 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009573 | regression/window/e + acute at 4094 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009574 | regression/window/jamo at 4094 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009575 | regression/window/e + acute at 4095 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009576 | regression/window/jamo at 4095 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB |
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