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
194 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 007890 | unicode/part3/line 19121 NormalizationTest.txt |
ে̴া
|
8 B | |
| 007891 | unicode/part3/line 19122 NormalizationTest.txt |
ে̴ৗ
|
8 B | |
| 007892 | unicode/part3/line 19123 NormalizationTest.txt |
େ̴ା
|
8 B | |
| 007893 | unicode/part3/line 19124 NormalizationTest.txt |
େ̴ୖ
|
8 B | |
| 007894 | unicode/part3/line 19125 NormalizationTest.txt |
େ̴ୗ
|
8 B | |
| 007895 | unicode/part3/line 19126 NormalizationTest.txt |
ஒ̴ௗ
|
8 B | |
| 007896 | unicode/part3/line 19127 NormalizationTest.txt |
ெ̴ா
|
8 B | |
| 007897 | unicode/part3/line 19128 NormalizationTest.txt |
ெ̴ௗ
|
8 B | |
| 007898 | unicode/part3/line 19129 NormalizationTest.txt |
ே̴ா
|
8 B | |
| 007899 | unicode/part3/line 19130 NormalizationTest.txt |
ಿ̴ೕ
|
8 B | |
| 007900 | unicode/part3/line 19131 NormalizationTest.txt |
ೆ̴ೂ
|
8 B | |
| 007901 | unicode/part3/line 19132 NormalizationTest.txt |
ೆ̴ೕ
|
8 B | |
| 007902 | unicode/part3/line 19133 NormalizationTest.txt |
ೆ̴ೖ
|
8 B | |
| 007903 | unicode/part3/line 19134 NormalizationTest.txt |
ೊ̴ೕ␊ೊ̴ೕ
|
20 B | |
| 007904 | unicode/part3/line 19135 NormalizationTest.txt |
െ̴ാ
|
8 B | |
| 007905 | unicode/part3/line 19136 NormalizationTest.txt |
െ̴ൗ
|
8 B | |
| 007906 | unicode/part3/line 19137 NormalizationTest.txt |
േ̴ാ
|
8 B | |
| 007907 | unicode/part3/line 19138 NormalizationTest.txt |
ෙ̴ා
|
8 B | |
| 007908 | unicode/part3/line 19139 NormalizationTest.txt |
ෙ̴ෟ
|
8 B | |
| 007909 | unicode/part3/line 19140 NormalizationTest.txt |
ཀ̴ྵ
|
8 B | |
| 007910 | unicode/part3/line 19141 NormalizationTest.txt |
ག̴ྷ
|
8 B | |
| 007911 | unicode/part3/line 19142 NormalizationTest.txt |
ཌ̴ྷ
|
8 B | |
| 007912 | unicode/part3/line 19143 NormalizationTest.txt |
ད̴ྷ
|
8 B | |
| 007913 | unicode/part3/line 19144 NormalizationTest.txt |
བ̴ྷ
|
8 B | |
| 007914 | unicode/part3/line 19145 NormalizationTest.txt |
ཛ̴ྷ
|
8 B | |
| 007915 | unicode/part3/line 19146 NormalizationTest.txt |
ྐ̴ྵ
|
8 B | |
| 007916 | unicode/part3/line 19147 NormalizationTest.txt |
ྒ̴ྷ
|
8 B | |
| 007917 | unicode/part3/line 19148 NormalizationTest.txt |
ྜ̴ྷ
|
8 B | |
| 007918 | unicode/part3/line 19149 NormalizationTest.txt |
ྡ̴ྷ
|
8 B | |
| 007919 | unicode/part3/line 19150 NormalizationTest.txt |
ྦ̴ྷ
|
8 B | |
| 007920 | unicode/part3/line 19151 NormalizationTest.txt |
ྫ̴ྷ
|
8 B | |
| 007921 | unicode/part3/line 19152 NormalizationTest.txt |
ဥ̴ီ
|
8 B | |
| 007922 | unicode/part3/line 19153 NormalizationTest.txt |
ᄀ̴ᅡ
|
8 B | |
| 007923 | unicode/part3/line 19154 NormalizationTest.txt |
ᄀ̴ᅮ
|
8 B | |
| 007924 | unicode/part3/line 19155 NormalizationTest.txt |
ᄁ̴ᅦ
|
8 B | |
| 007925 | unicode/part3/line 19156 NormalizationTest.txt |
ᄁ̴ᅳ
|
8 B | |
| 007926 | unicode/part3/line 19157 NormalizationTest.txt |
ᄂ̴ᅫ
|
8 B | |
| 007927 | unicode/part3/line 19158 NormalizationTest.txt |
ᄃ̴ᅣ
|
8 B | |
| 007928 | unicode/part3/line 19159 NormalizationTest.txt |
ᄃ̴ᅰ
|
8 B | |
| 007929 | unicode/part3/line 19160 NormalizationTest.txt |
ᄄ̴ᅨ
|
8 B | |
| 007930 | unicode/part3/line 19161 NormalizationTest.txt |
ᄄ̴ᅵ
|
8 B | |
| 007931 | unicode/part3/line 19162 NormalizationTest.txt |
ᄅ̴ᅭ
|
8 B | |
| 007932 | unicode/part3/line 19163 NormalizationTest.txt |
ᄆ̴ᅥ
|
8 B | |
| 007933 | unicode/part3/line 19164 NormalizationTest.txt |
ᄆ̴ᅲ
|
8 B | |
| 007934 | unicode/part3/line 19165 NormalizationTest.txt |
ᄇ̴ᅪ
|
8 B | |
| 007935 | unicode/part3/line 19166 NormalizationTest.txt |
ᄈ̴ᅢ
|
8 B | |
| 007936 | unicode/part3/line 19167 NormalizationTest.txt |
ᄈ̴ᅯ
|
8 B | |
| 007937 | unicode/part3/line 19168 NormalizationTest.txt |
ᄉ̴ᅧ
|
8 B | |
| 007938 | unicode/part3/line 19169 NormalizationTest.txt |
ᄉ̴ᅴ
|
8 B | |
| 007939 | unicode/part3/line 19170 NormalizationTest.txt |
ᄊ̴ᅬ
|
8 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