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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 003145 | unicode/part1/U+FC5F NormalizationTest.txt |
ﱟ␊ ٍّ
|
9 B | |
| 003146 | unicode/part1/U+FC60 NormalizationTest.txt |
ﱠ␊ َّ
|
9 B | |
| 003147 | unicode/part1/U+FC61 NormalizationTest.txt |
ﱡ␊ ُّ
|
9 B | |
| 003148 | unicode/part1/U+FC62 NormalizationTest.txt |
ﱢ␊ ِّ
|
9 B | |
| 003149 | unicode/part1/U+FC63 NormalizationTest.txt |
ﱣ␊ ّٰ
|
9 B | |
| 003150 | unicode/part1/U+FC64 NormalizationTest.txt |
ﱤ␊ئر␊ئر
|
15 B | |
| 003151 | unicode/part1/U+FC65 NormalizationTest.txt |
ﱥ␊ئز␊ئز
|
15 B | |
| 003152 | unicode/part1/U+FC66 NormalizationTest.txt |
ﱦ␊ئم␊ئم
|
15 B | |
| 003153 | unicode/part1/U+FC67 NormalizationTest.txt |
ﱧ␊ئن␊ئن
|
15 B | |
| 003154 | unicode/part1/U+FC68 NormalizationTest.txt |
ﱨ␊ئى␊ئى
|
15 B | |
| 003155 | unicode/part1/U+FC69 NormalizationTest.txt |
ﱩ␊ئي␊ئي
|
15 B | |
| 003156 | unicode/part1/U+FC6A NormalizationTest.txt |
ﱪ␊بر
|
8 B | |
| 003157 | unicode/part1/U+FC6B NormalizationTest.txt |
ﱫ␊بز
|
8 B | |
| 003158 | unicode/part1/U+FC6C NormalizationTest.txt |
ﱬ␊بم
|
8 B | |
| 003159 | unicode/part1/U+FC6D NormalizationTest.txt |
ﱭ␊بن
|
8 B | |
| 003160 | unicode/part1/U+FC6E NormalizationTest.txt |
ﱮ␊بى
|
8 B | |
| 003161 | unicode/part1/U+FC6F NormalizationTest.txt |
ﱯ␊بي
|
8 B | |
| 003162 | unicode/part1/U+FC70 NormalizationTest.txt |
ﱰ␊تر
|
8 B | |
| 003163 | unicode/part1/U+FC71 NormalizationTest.txt |
ﱱ␊تز
|
8 B | |
| 003164 | unicode/part1/U+FC72 NormalizationTest.txt |
ﱲ␊تم
|
8 B | |
| 003165 | unicode/part1/U+FC73 NormalizationTest.txt |
ﱳ␊تن
|
8 B | |
| 003166 | unicode/part1/U+FC74 NormalizationTest.txt |
ﱴ␊تى
|
8 B | |
| 003167 | unicode/part1/U+FC75 NormalizationTest.txt |
ﱵ␊تي
|
8 B | |
| 003168 | unicode/part1/U+FC76 NormalizationTest.txt |
ﱶ␊ثر
|
8 B | |
| 003169 | unicode/part1/U+FC77 NormalizationTest.txt |
ﱷ␊ثز
|
8 B | |
| 003170 | unicode/part1/U+FC78 NormalizationTest.txt |
ﱸ␊ثم
|
8 B | |
| 003171 | unicode/part1/U+FC79 NormalizationTest.txt |
ﱹ␊ثن
|
8 B | |
| 003172 | unicode/part1/U+FC7A NormalizationTest.txt |
ﱺ␊ثى
|
8 B | |
| 003173 | unicode/part1/U+FC7B NormalizationTest.txt |
ﱻ␊ثي
|
8 B | |
| 003174 | unicode/part1/U+FC7C NormalizationTest.txt |
ﱼ␊فى
|
8 B | |
| 003175 | unicode/part1/U+FC7D NormalizationTest.txt |
ﱽ␊في
|
8 B | |
| 003176 | unicode/part1/U+FC7E NormalizationTest.txt |
ﱾ␊قى
|
8 B | |
| 003177 | unicode/part1/U+FC7F NormalizationTest.txt |
ﱿ␊قي
|
8 B | |
| 003178 | unicode/part1/U+FC80 NormalizationTest.txt |
ﲀ␊كا
|
8 B | |
| 003179 | unicode/part1/U+FC81 NormalizationTest.txt |
ﲁ␊كل
|
8 B | |
| 003180 | unicode/part1/U+FC82 NormalizationTest.txt |
ﲂ␊كم
|
8 B | |
| 003181 | unicode/part1/U+FC83 NormalizationTest.txt |
ﲃ␊كى
|
8 B | |
| 003182 | unicode/part1/U+FC84 NormalizationTest.txt |
ﲄ␊كي
|
8 B | |
| 003183 | unicode/part1/U+FC85 NormalizationTest.txt |
ﲅ␊لم
|
8 B | |
| 003184 | unicode/part1/U+FC86 NormalizationTest.txt |
ﲆ␊لى
|
8 B | |
| 003185 | unicode/part1/U+FC87 NormalizationTest.txt |
ﲇ␊لي
|
8 B | |
| 003186 | unicode/part1/U+FC88 NormalizationTest.txt |
ﲈ␊ما
|
8 B | |
| 003187 | unicode/part1/U+FC89 NormalizationTest.txt |
ﲉ␊مم
|
8 B | |
| 003188 | unicode/part1/U+FC8A NormalizationTest.txt |
ﲊ␊نر
|
8 B | |
| 003189 | unicode/part1/U+FC8B NormalizationTest.txt |
ﲋ␊نز
|
8 B | |
| 003190 | unicode/part1/U+FC8C NormalizationTest.txt |
ﲌ␊نم
|
8 B | |
| 003191 | unicode/part1/U+FC8D NormalizationTest.txt |
ﲍ␊نن
|
8 B | |
| 003192 | unicode/part1/U+FC8E NormalizationTest.txt |
ﲎ␊نى
|
8 B | |
| 003193 | unicode/part1/U+FC8F NormalizationTest.txt |
ﲏ␊ني
|
8 B | |
| 003194 | unicode/part1/U+FC90 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