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
727 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 008684 | unicode/part4/line 19919 NormalizationTest.txt |
ᾥ␊ᾥ␊ᾥ
|
20 B | |
| 008685 | unicode/part4/line 19920 NormalizationTest.txt |
ᾥ␊ᾥ␊ᾥ
|
20 B | |
| 008686 | unicode/part4/line 19921 NormalizationTest.txt |
ᾥ␊ᾥ␊ᾥ
|
20 B | |
| 008687 | unicode/part4/line 19922 NormalizationTest.txt |
ᾥ␊ᾥ␊ᾥ
|
20 B | |
| 008688 | unicode/part4/line 19923 NormalizationTest.txt |
ᾥ␊ᾥ␊ᾥ
|
20 B | |
| 008689 | unicode/part4/line 19924 NormalizationTest.txt |
ᾥ␊ᾥ␊ᾥ
|
20 B | |
| 008690 | unicode/part4/line 19925 NormalizationTest.txt |
ᾦ␊ᾦ␊ᾦ
|
18 B | |
| 008691 | unicode/part4/line 19926 NormalizationTest.txt |
ᾦ␊ᾦ␊ᾦ
|
18 B | |
| 008692 | unicode/part4/line 19927 NormalizationTest.txt |
ᾦ␊ᾦ␊ᾦ
|
20 B | |
| 008693 | unicode/part4/line 19928 NormalizationTest.txt |
ᾦ␊ᾦ␊ᾦ
|
20 B | |
| 008694 | unicode/part4/line 19929 NormalizationTest.txt |
ᾦ␊ᾦ␊ᾦ
|
20 B | |
| 008695 | unicode/part4/line 19930 NormalizationTest.txt |
ᾦ␊ᾦ␊ᾦ
|
20 B | |
| 008696 | unicode/part4/line 19931 NormalizationTest.txt |
ᾧ␊ᾧ␊ᾧ
|
18 B | |
| 008697 | unicode/part4/line 19932 NormalizationTest.txt |
ᾧ␊ᾧ␊ᾧ
|
18 B | |
| 008698 | unicode/part4/line 19933 NormalizationTest.txt |
ᾧ␊ᾧ␊ᾧ
|
20 B | |
| 008699 | unicode/part4/line 19934 NormalizationTest.txt |
ᾧ␊ᾧ␊ᾧ
|
20 B | |
| 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 |
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