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
1,936 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 007704 | unicode/part2/line 18932 NormalizationTest.txt |
a᷺̖𝆀֚b␊a᷺̖𝆀֚b
|
27 B | |
| 007705 | unicode/part2/line 18933 NormalizationTest.txt |
a᷺𝆀̖֚b␊a᷺𝆀̖֚b
|
27 B | |
| 007706 | unicode/part2/line 18934 NormalizationTest.txt |
a᷺̖𝆁֚b␊a᷺̖𝆁֚b
|
27 B | |
| 007707 | unicode/part2/line 18935 NormalizationTest.txt |
a᷺𝆁̖֚b␊a᷺𝆁̖֚b
|
27 B | |
| 007708 | unicode/part2/line 18936 NormalizationTest.txt |
a᷺̖𝆂֚b␊a᷺̖𝆂֚b
|
27 B | |
| 007709 | unicode/part2/line 18937 NormalizationTest.txt |
a᷺𝆂̖֚b␊a᷺𝆂̖֚b
|
27 B | |
| 007710 | unicode/part2/line 18938 NormalizationTest.txt |
à֮𝆅̕b␊à֮𝆅̕b␊à֮𝆅̕b
|
37 B | |
| 007711 | unicode/part2/line 18939 NormalizationTest.txt |
a֮𝆅̀̕b␊a֮𝆅̀̕b
|
25 B | |
| 007712 | unicode/part2/line 18940 NormalizationTest.txt |
à֮𝆆̕b␊à֮𝆆̕b␊à֮𝆆̕b
|
37 B | |
| 007713 | unicode/part2/line 18941 NormalizationTest.txt |
a֮𝆆̀̕b␊a֮𝆆̀̕b
|
25 B | |
| 007714 | unicode/part2/line 18942 NormalizationTest.txt |
à֮𝆇̕b␊à֮𝆇̕b␊à֮𝆇̕b
|
37 B | |
| 007715 | unicode/part2/line 18943 NormalizationTest.txt |
a֮𝆇̀̕b␊a֮𝆇̀̕b
|
25 B | |
| 007716 | unicode/part2/line 18944 NormalizationTest.txt |
à֮𝆈̕b␊à֮𝆈̕b␊à֮𝆈̕b
|
37 B | |
| 007717 | unicode/part2/line 18945 NormalizationTest.txt |
a֮𝆈̀̕b␊a֮𝆈̀̕b
|
25 B | |
| 007718 | unicode/part2/line 18946 NormalizationTest.txt |
à֮𝆉̕b␊à֮𝆉̕b␊à֮𝆉̕b
|
37 B | |
| 007719 | unicode/part2/line 18947 NormalizationTest.txt |
a֮𝆉̀̕b␊a֮𝆉̀̕b
|
25 B | |
| 007720 | unicode/part2/line 18948 NormalizationTest.txt |
a᷺̖𝆊֚b␊a᷺̖𝆊֚b
|
27 B | |
| 007721 | unicode/part2/line 18949 NormalizationTest.txt |
a᷺𝆊̖֚b␊a᷺𝆊̖֚b
|
27 B | |
| 007722 | unicode/part2/line 18950 NormalizationTest.txt |
a᷺̖𝆋֚b␊a᷺̖𝆋֚b
|
27 B | |
| 007723 | unicode/part2/line 18951 NormalizationTest.txt |
a᷺𝆋̖֚b␊a᷺𝆋̖֚b
|
27 B | |
| 007724 | unicode/part2/line 18952 NormalizationTest.txt |
à֮𝆪̕b␊à֮𝆪̕b␊à֮𝆪̕b
|
37 B | |
| 007725 | unicode/part2/line 18953 NormalizationTest.txt |
a֮𝆪̀̕b␊a֮𝆪̀̕b
|
25 B | |
| 007726 | unicode/part2/line 18954 NormalizationTest.txt |
à֮𝆫̕b␊à֮𝆫̕b␊à֮𝆫̕b
|
37 B | |
| 007727 | unicode/part2/line 18955 NormalizationTest.txt |
a֮𝆫̀̕b␊a֮𝆫̀̕b
|
25 B | |
| 007728 | unicode/part2/line 18956 NormalizationTest.txt |
à֮𝆬̕b␊à֮𝆬̕b␊à֮𝆬̕b
|
37 B | |
| 007729 | unicode/part2/line 18957 NormalizationTest.txt |
a֮𝆬̀̕b␊a֮𝆬̀̕b
|
25 B | |
| 007730 | unicode/part2/line 18958 NormalizationTest.txt |
à֮𝆭̕b␊à֮𝆭̕b␊à֮𝆭̕b
|
37 B | |
| 007731 | unicode/part2/line 18959 NormalizationTest.txt |
a֮𝆭̀̕b␊a֮𝆭̀̕b
|
25 B | |
| 007732 | unicode/part2/line 18960 NormalizationTest.txt |
à֮𝉂̕b␊à֮𝉂̕b␊à֮𝉂̕b
|
37 B | |
| 007733 | unicode/part2/line 18961 NormalizationTest.txt |
a֮𝉂̀̕b␊a֮𝉂̀̕b
|
25 B | |
| 007734 | unicode/part2/line 18962 NormalizationTest.txt |
à֮𝉃̕b␊à֮𝉃̕b␊à֮𝉃̕b
|
37 B | |
| 007735 | unicode/part2/line 18963 NormalizationTest.txt |
a֮𝉃̀̕b␊a֮𝉃̀̕b
|
25 B | |
| 007736 | unicode/part2/line 18964 NormalizationTest.txt |
à֮𝉄̕b␊à֮𝉄̕b␊à֮𝉄̕b
|
37 B | |
| 007737 | unicode/part2/line 18965 NormalizationTest.txt |
a֮𝉄̀̕b␊a֮𝉄̀̕b
|
25 B | |
| 007738 | unicode/part2/line 18966 NormalizationTest.txt |
à֮𞀀̕b␊à֮𞀀̕b␊à֮𞀀̕b
|
37 B | |
| 007739 | unicode/part2/line 18967 NormalizationTest.txt |
a֮𞀀̀̕b␊a֮𞀀̀̕b
|
25 B | |
| 007740 | unicode/part2/line 18968 NormalizationTest.txt |
à֮𞀁̕b␊à֮𞀁̕b␊à֮𞀁̕b
|
37 B | |
| 007741 | unicode/part2/line 18969 NormalizationTest.txt |
a֮𞀁̀̕b␊a֮𞀁̀̕b
|
25 B | |
| 007742 | unicode/part2/line 18970 NormalizationTest.txt |
à֮𞀂̕b␊à֮𞀂̕b␊à֮𞀂̕b
|
37 B | |
| 007743 | unicode/part2/line 18971 NormalizationTest.txt |
a֮𞀂̀̕b␊a֮𞀂̀̕b
|
25 B | |
| 007744 | unicode/part2/line 18972 NormalizationTest.txt |
à֮𞀃̕b␊à֮𞀃̕b␊à֮𞀃̕b
|
37 B | |
| 007745 | unicode/part2/line 18973 NormalizationTest.txt |
a֮𞀃̀̕b␊a֮𞀃̀̕b
|
25 B | |
| 007746 | unicode/part2/line 18974 NormalizationTest.txt |
à֮𞀄̕b␊à֮𞀄̕b␊à֮𞀄̕b
|
37 B | |
| 007747 | unicode/part2/line 18975 NormalizationTest.txt |
a֮𞀄̀̕b␊a֮𞀄̀̕b
|
25 B | |
| 007748 | unicode/part2/line 18976 NormalizationTest.txt |
à֮𞀅̕b␊à֮𞀅̕b␊à֮𞀅̕b
|
37 B | |
| 007749 | unicode/part2/line 18977 NormalizationTest.txt |
a֮𞀅̀̕b␊a֮𞀅̀̕b
|
25 B | |
| 007750 | unicode/part2/line 18978 NormalizationTest.txt |
à֮𞀆̕b␊à֮𞀆̕b␊à֮𞀆̕b
|
37 B | |
| 007751 | unicode/part2/line 18979 NormalizationTest.txt |
a֮𞀆̀̕b␊a֮𞀆̀̕b
|
25 B | |
| 007752 | unicode/part2/line 18980 NormalizationTest.txt |
à֮𞀈̕b␊à֮𞀈̕b␊à֮𞀈̕b
|
37 B | |
| 007753 | unicode/part2/line 18981 NormalizationTest.txt |
a֮𞀈̀̕b␊a֮𞀈̀̕b
|
25 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