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
332 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 009631 | regression/tail/e + acute ending at 54 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
54 B | |
| 009632 | regression/tail/e + acute ending at 55 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
55 B | |
| 009633 | regression/tail/e + acute ending at 56 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009634 | regression/tail/e + acute ending at 57 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009635 | regression/tail/e + acute ending at 58 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
58 B | |
| 009636 | regression/tail/e + acute ending at 59 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
59 B | |
| 009637 | regression/tail/e + acute ending at 60 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
60 B | |
| 009638 | regression/tail/e + acute ending at 61 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
61 B | |
| 009639 | regression/tail/e + acute ending at 62 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
62 B | |
| 009640 | regression/tail/e + acute ending at 63 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
63 B | |
| 009641 | regression/tail/e + acute ending at 64 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
64 B | |
| 009642 | regression/tail/e + acute ending at 65 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
65 B | |
| 009643 | regression/tail/e + acute ending at 66 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
66 B | |
| 009644 | regression/tail/e + acute ending at 67 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
67 B | |
| 009645 | regression/tail/e + acute ending at 68 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
68 B | |
| 009646 | regression/tail/e + acute ending at 69 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
69 B | |
| 009647 | regression/tail/e + acute ending at 70 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
70 B | |
| 009648 | regression/tail/acute ending at 2 Focused regression |
́
|
2 B | |
| 009649 | regression/tail/angstrom sign ending at 4 Focused regression |
eÅ
|
4 B | |
| 009650 | regression/tail/angstrom sign ending at 5 Focused regression |
eeÅ
|
5 B | |
| 009651 | regression/tail/angstrom sign ending at 6 Focused regression |
eeeÅ
|
6 B | |
| 009652 | regression/tail/angstrom sign ending at 7 Focused regression |
eeeeÅ
|
7 B | |
| 009653 | regression/tail/angstrom sign ending at 8 Focused regression |
eeeeeÅ
|
8 B | |
| 009654 | regression/tail/angstrom sign ending at 9 Focused regression |
eeeeeeÅ
|
9 B | |
| 009655 | regression/tail/angstrom sign ending at 10 Focused regression |
eeeeeeeÅ
|
10 B | |
| 009656 | regression/tail/angstrom sign ending at 11 Focused regression |
eeeeeeeeÅ
|
11 B | |
| 009657 | regression/tail/angstrom sign ending at 12 Focused regression |
eeeeeeeeeÅ
|
12 B | |
| 009658 | regression/tail/angstrom sign ending at 13 Focused regression |
eeeeeeeeeeÅ
|
13 B | |
| 009659 | regression/tail/angstrom sign ending at 14 Focused regression |
eeeeeeeeeeeÅ
|
14 B | |
| 009660 | regression/tail/angstrom sign ending at 15 Focused regression |
eeeeeeeeeeeeÅ
|
15 B | |
| 009661 | regression/tail/angstrom sign ending at 16 Focused regression |
eeeeeeeeeeeeeÅ
|
16 B | |
| 009662 | regression/tail/angstrom sign ending at 17 Focused regression |
eeeeeeeeeeeeeeÅ
|
17 B | |
| 009663 | regression/tail/angstrom sign ending at 18 Focused regression |
eeeeeeeeeeeeeeeÅ
|
18 B | |
| 009664 | regression/tail/angstrom sign ending at 19 Focused regression |
eeeeeeeeeeeeeeeeÅ
|
19 B | |
| 009665 | regression/tail/angstrom sign ending at 20 Focused regression |
eeeeeeeeeeeeeeeeeÅ
|
20 B | |
| 009666 | regression/tail/angstrom sign ending at 21 Focused regression |
eeeeeeeeeeeeeeeeeeÅ
|
21 B | |
| 009667 | regression/tail/angstrom sign ending at 22 Focused regression |
eeeeeeeeeeeeeeeeeeeÅ
|
22 B | |
| 009668 | regression/tail/angstrom sign ending at 23 Focused regression |
eeeeeeeeeeeeeeeeeeeeÅ
|
23 B | |
| 009669 | regression/tail/angstrom sign ending at 24 Focused regression |
eeeeeeeeeeeeeeeeeeeeeÅ
|
24 B | |
| 009670 | regression/tail/angstrom sign ending at 25 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeÅ
|
25 B | |
| 009671 | regression/tail/angstrom sign ending at 26 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeÅ
|
26 B | |
| 009672 | regression/tail/angstrom sign ending at 27 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeÅ
|
27 B | |
| 009673 | regression/tail/angstrom sign ending at 28 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeÅ
|
28 B | |
| 009674 | regression/tail/angstrom sign ending at 29 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeÅ
|
29 B | |
| 009675 | regression/tail/angstrom sign ending at 30 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeÅ
|
30 B | |
| 009676 | regression/tail/angstrom sign ending at 31 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ
|
31 B | |
| 009677 | regression/tail/angstrom sign ending at 32 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ
|
32 B | |
| 009678 | regression/tail/angstrom sign ending at 33 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ
|
33 B | |
| 009679 | regression/tail/angstrom sign ending at 34 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ
|
34 B | |
| 009680 | regression/tail/angstrom sign ending at 35 Focused regression |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ
|
35 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