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
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 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 | |
| 009577 | regression/window/e + acute at 4096 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009578 | regression/window/jamo at 4096 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009579 | regression/window/e + acute at 4097 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009580 | regression/window/jamo at 4097 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
4.0 KiB | |
| 009581 | regression/tail/e + acute ending at 4 Focused regression |
eé
|
4 B | |
| 009582 | regression/tail/e + acute ending at 5 Focused regression |
eeé
|
5 B | |
| 009583 | regression/tail/e + acute ending at 6 Focused regression |
eeeé
|
6 B | |
| 009584 | regression/tail/e + acute ending at 7 Focused regression |
eeeeé
|
7 B | |
| 009585 | regression/tail/e + acute ending at 8 Focused regression |
eeeeeé
|
8 B | |
| 009586 | regression/tail/e + acute ending at 9 Focused regression |
eeeeeeé
|
9 B | |
| 009587 | regression/tail/e + acute ending at 10 Focused regression |
eeeeeeeé
|
10 B | |
| 009588 | regression/tail/e + acute ending at 11 Focused regression |
eeeeeeeeé
|
11 B | |
| 009589 | regression/tail/e + acute ending at 12 Focused regression |
eeeeeeeeeé
|
12 B | |
| 009590 | regression/tail/e + acute ending at 13 Focused regression |
eeeeeeeeeeé
|
13 B | |
| 009591 | regression/tail/e + acute ending at 14 Focused regression |
eeeeeeeeeeeé
|
14 B | |
| 009592 | regression/tail/e + acute ending at 15 Focused regression |
eeeeeeeeeeeeé
|
15 B | |
| 009593 | regression/tail/e + acute ending at 16 Focused regression |
eeeeeeeeeeeeeé
|
16 B | |
| 009594 | regression/tail/e + acute ending at 17 Focused regression |
eeeeeeeeeeeeeeé
|
17 B | |
| 009595 | regression/tail/e + acute ending at 18 Focused regression |
eeeeeeeeeeeeeeeé
|
18 B | |
| 009596 | regression/tail/e + acute ending at 19 Focused regression |
eeeeeeeeeeeeeeeeé
|
19 B | |
| 009597 | regression/tail/e + acute ending at 20 Focused regression |
eeeeeeeeeeeeeeeeeé
|
20 B | |
| 009598 | regression/tail/e + acute ending at 21 Focused regression |
eeeeeeeeeeeeeeeeeeé
|
21 B | |
| 009599 | regression/tail/e + acute ending at 22 Focused regression |
eeeeeeeeeeeeeeeeeeeé
|
22 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