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 |
|---|---|---|---|---|
| 008700 | unicode/part4/line 19935 NormalizationTest.txt |
ᾧ␊ᾧ␊ᾧ
|
20 B | |
| 008701 | unicode/part4/line 19936 NormalizationTest.txt |
ᾨ␊ᾨ␊ᾨ
|
16 B | |
| 008702 | unicode/part4/line 19937 NormalizationTest.txt |
ᾨ␊ᾨ␊ᾨ
|
16 B | |
| 008703 | unicode/part4/line 19938 NormalizationTest.txt |
ᾨ␊ᾨ␊ᾨ
|
16 B | |
| 008704 | unicode/part4/line 19939 NormalizationTest.txt |
ᾩ␊ᾩ␊ᾩ
|
16 B | |
| 008705 | unicode/part4/line 19940 NormalizationTest.txt |
ᾩ␊ᾩ␊ᾩ
|
16 B | |
| 008706 | unicode/part4/line 19941 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
18 B | |
| 008707 | unicode/part4/line 19942 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
18 B | |
| 008708 | unicode/part4/line 19943 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
18 B | |
| 008709 | unicode/part4/line 19944 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
20 B | |
| 008710 | unicode/part4/line 19945 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
20 B | |
| 008711 | unicode/part4/line 19946 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
20 B | |
| 008712 | unicode/part4/line 19947 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
20 B | |
| 008713 | unicode/part4/line 19948 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
20 B | |
| 008714 | unicode/part4/line 19949 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
20 B | |
| 008715 | unicode/part4/line 19950 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
20 B | |
| 008716 | unicode/part4/line 19951 NormalizationTest.txt |
ᾪ␊ᾪ␊ᾪ
|
20 B | |
| 008717 | unicode/part4/line 19952 NormalizationTest.txt |
ᾫ␊ᾫ␊ᾫ
|
18 B | |
| 008718 | unicode/part4/line 19953 NormalizationTest.txt |
ᾫ␊ᾫ␊ᾫ
|
18 B | |
| 008719 | unicode/part4/line 19954 NormalizationTest.txt |
ᾫ␊ᾫ␊ᾫ
|
18 B | |
| 008720 | unicode/part4/line 19955 NormalizationTest.txt |
ᾫ␊ᾫ␊ᾫ
|
20 B | |
| 008721 | unicode/part4/line 19956 NormalizationTest.txt |
ᾫ␊ᾫ␊ᾫ
|
20 B | |
| 008722 | unicode/part4/line 19957 NormalizationTest.txt |
ᾫ␊ᾫ␊ᾫ
|
20 B | |
| 008723 | unicode/part4/line 19958 NormalizationTest.txt |
ᾫ␊ᾫ␊ᾫ
|
20 B | |
| 008724 | unicode/part4/line 19959 NormalizationTest.txt |
ᾫ␊ᾫ␊ᾫ
|
20 B | |
| 008725 | unicode/part4/line 19960 NormalizationTest.txt |
ᾫ␊ᾫ␊ᾫ
|
20 B | |
| 008726 | unicode/part4/line 19961 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
18 B | |
| 008727 | unicode/part4/line 19962 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
18 B | |
| 008728 | unicode/part4/line 19963 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
18 B | |
| 008729 | unicode/part4/line 19964 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008730 | unicode/part4/line 19965 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008731 | unicode/part4/line 19966 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008732 | unicode/part4/line 19967 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008733 | unicode/part4/line 19968 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008734 | unicode/part4/line 19969 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008735 | unicode/part4/line 19970 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008736 | unicode/part4/line 19971 NormalizationTest.txt |
ᾬ␊ᾬ␊ᾬ
|
20 B | |
| 008737 | unicode/part4/line 19972 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
18 B | |
| 008738 | unicode/part4/line 19973 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
18 B | |
| 008739 | unicode/part4/line 19974 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
18 B | |
| 008740 | unicode/part4/line 19975 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008741 | unicode/part4/line 19976 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008742 | unicode/part4/line 19977 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008743 | unicode/part4/line 19978 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008744 | unicode/part4/line 19979 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008745 | unicode/part4/line 19980 NormalizationTest.txt |
ᾭ␊ᾭ␊ᾭ
|
20 B | |
| 008746 | unicode/part4/line 19981 NormalizationTest.txt |
ᾮ␊ᾮ␊ᾮ
|
18 B | |
| 008747 | unicode/part4/line 19982 NormalizationTest.txt |
ᾮ␊ᾮ␊ᾮ
|
18 B | |
| 008748 | unicode/part4/line 19983 NormalizationTest.txt |
ᾮ␊ᾮ␊ᾮ
|
20 B | |
| 008749 | unicode/part4/line 19984 NormalizationTest.txt |
ᾮ␊ᾮ␊ᾮ
|
20 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