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 |
|---|---|---|---|---|
| 007950 | unicode/part3/line 19181 NormalizationTest.txt |
ᄑ̴ᅨ
|
8 B | |
| 007951 | unicode/part3/line 19182 NormalizationTest.txt |
ᄑ̴ᅵ
|
8 B | |
| 007952 | unicode/part3/line 19183 NormalizationTest.txt |
ᄒ̴ᅭ
|
8 B | |
| 007953 | unicode/part3/line 19184 NormalizationTest.txt |
ᬅ̴ᬵ
|
8 B | |
| 007954 | unicode/part3/line 19185 NormalizationTest.txt |
ᬇ̴ᬵ
|
8 B | |
| 007955 | unicode/part3/line 19186 NormalizationTest.txt |
ᬉ̴ᬵ
|
8 B | |
| 007956 | unicode/part3/line 19187 NormalizationTest.txt |
ᬋ̴ᬵ
|
8 B | |
| 007957 | unicode/part3/line 19188 NormalizationTest.txt |
ᬍ̴ᬵ
|
8 B | |
| 007958 | unicode/part3/line 19189 NormalizationTest.txt |
ᬑ̴ᬵ
|
8 B | |
| 007959 | unicode/part3/line 19190 NormalizationTest.txt |
ᬺ̴ᬵ
|
8 B | |
| 007960 | unicode/part3/line 19191 NormalizationTest.txt |
ᬼ̴ᬵ
|
8 B | |
| 007961 | unicode/part3/line 19192 NormalizationTest.txt |
ᬾ̴ᬵ
|
8 B | |
| 007962 | unicode/part3/line 19193 NormalizationTest.txt |
ᬿ̴ᬵ
|
8 B | |
| 007963 | unicode/part3/line 19194 NormalizationTest.txt |
ᭂ̴ᬵ
|
8 B | |
| 007964 | unicode/part3/line 19195 NormalizationTest.txt |
걔̴ᆮ␊걔̴ᆮ
|
20 B | |
| 007965 | unicode/part3/line 19196 NormalizationTest.txt |
겨̴ᆵ␊겨̴ᆵ
|
20 B | |
| 007966 | unicode/part3/line 19197 NormalizationTest.txt |
과̴ᆼ␊과̴ᆼ
|
20 B | |
| 007967 | unicode/part3/line 19198 NormalizationTest.txt |
귀̴ᆮ␊귀̴ᆮ
|
20 B | |
| 007968 | unicode/part3/line 19199 NormalizationTest.txt |
긔̴ᆵ␊긔̴ᆵ
|
20 B | |
| 007969 | unicode/part3/line 19200 NormalizationTest.txt |
깨̴ᆼ␊깨̴ᆼ
|
20 B | |
| 007970 | unicode/part3/line 19201 NormalizationTest.txt |
꼬̴ᆮ␊꼬̴ᆮ
|
20 B | |
| 007971 | unicode/part3/line 19202 NormalizationTest.txt |
꾀̴ᆵ␊꾀̴ᆵ
|
20 B | |
| 007972 | unicode/part3/line 19203 NormalizationTest.txt |
꿔̴ᆼ␊꿔̴ᆼ
|
20 B | |
| 007973 | unicode/part3/line 19204 NormalizationTest.txt |
나̴ᆮ␊나̴ᆮ
|
20 B | |
| 007974 | unicode/part3/line 19205 NormalizationTest.txt |
냬̴ᆵ␊냬̴ᆵ
|
20 B | |
| 007975 | unicode/part3/line 19206 NormalizationTest.txt |
녀̴ᆼ␊녀̴ᆼ
|
20 B | |
| 007976 | unicode/part3/line 19207 NormalizationTest.txt |
누̴ᆮ␊누̴ᆮ
|
20 B | |
| 007977 | unicode/part3/line 19208 NormalizationTest.txt |
뉘̴ᆵ␊뉘̴ᆵ
|
20 B | |
| 007978 | unicode/part3/line 19209 NormalizationTest.txt |
늬̴ᆼ␊늬̴ᆼ
|
20 B | |
| 007979 | unicode/part3/line 19210 NormalizationTest.txt |
데̴ᆮ␊데̴ᆮ
|
20 B | |
| 007980 | unicode/part3/line 19211 NormalizationTest.txt |
도̴ᆵ␊도̴ᆵ
|
20 B | |
| 007981 | unicode/part3/line 19212 NormalizationTest.txt |
되̴ᆼ␊되̴ᆼ
|
20 B | |
| 007982 | unicode/part3/line 19213 NormalizationTest.txt |
드̴ᆮ␊드̴ᆮ
|
20 B | |
| 007983 | unicode/part3/line 19214 NormalizationTest.txt |
따̴ᆵ␊따̴ᆵ
|
20 B | |
| 007984 | unicode/part3/line 19215 NormalizationTest.txt |
떄̴ᆼ␊떄̴ᆼ
|
20 B | |
| 007985 | unicode/part3/line 19216 NormalizationTest.txt |
뙈̴ᆮ␊뙈̴ᆮ
|
20 B | |
| 007986 | unicode/part3/line 19217 NormalizationTest.txt |
뚜̴ᆵ␊뚜̴ᆵ
|
20 B | |
| 007987 | unicode/part3/line 19218 NormalizationTest.txt |
뛰̴ᆼ␊뛰̴ᆼ
|
20 B | |
| 007988 | unicode/part3/line 19219 NormalizationTest.txt |
랴̴ᆮ␊랴̴ᆮ
|
20 B | |
| 007989 | unicode/part3/line 19220 NormalizationTest.txt |
레̴ᆵ␊레̴ᆵ
|
20 B | |
| 007990 | unicode/part3/line 19221 NormalizationTest.txt |
로̴ᆼ␊로̴ᆼ
|
20 B | |
| 007991 | unicode/part3/line 19222 NormalizationTest.txt |
뤠̴ᆮ␊뤠̴ᆮ
|
20 B | |
| 007992 | unicode/part3/line 19223 NormalizationTest.txt |
르̴ᆵ␊르̴ᆵ
|
20 B | |
| 007993 | unicode/part3/line 19224 NormalizationTest.txt |
마̴ᆼ␊마̴ᆼ
|
20 B | |
| 007994 | unicode/part3/line 19225 NormalizationTest.txt |
몌̴ᆮ␊몌̴ᆮ
|
20 B | |
| 007995 | unicode/part3/line 19226 NormalizationTest.txt |
뫠̴ᆵ␊뫠̴ᆵ
|
20 B | |
| 007996 | unicode/part3/line 19227 NormalizationTest.txt |
무̴ᆼ␊무̴ᆼ
|
20 B | |
| 007997 | unicode/part3/line 19228 NormalizationTest.txt |
미̴ᆮ␊미̴ᆮ
|
20 B | |
| 007998 | unicode/part3/line 19229 NormalizationTest.txt |
뱌̴ᆵ␊뱌̴ᆵ
|
20 B | |
| 007999 | unicode/part3/line 19230 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