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 |
|---|---|---|---|---|
| 003195 | unicode/part1/U+FC91 NormalizationTest.txt |
ﲑ␊ير
|
8 B | |
| 003196 | unicode/part1/U+FC92 NormalizationTest.txt |
ﲒ␊يز
|
8 B | |
| 003197 | unicode/part1/U+FC93 NormalizationTest.txt |
ﲓ␊يم
|
8 B | |
| 003198 | unicode/part1/U+FC94 NormalizationTest.txt |
ﲔ␊ين
|
8 B | |
| 003199 | unicode/part1/U+FC95 NormalizationTest.txt |
ﲕ␊يى
|
8 B | |
| 003200 | unicode/part1/U+FC96 NormalizationTest.txt |
ﲖ␊يي
|
8 B | |
| 003201 | unicode/part1/U+FC97 NormalizationTest.txt |
ﲗ␊ئج␊ئج
|
15 B | |
| 003202 | unicode/part1/U+FC98 NormalizationTest.txt |
ﲘ␊ئح␊ئح
|
15 B | |
| 003203 | unicode/part1/U+FC99 NormalizationTest.txt |
ﲙ␊ئخ␊ئخ
|
15 B | |
| 003204 | unicode/part1/U+FC9A NormalizationTest.txt |
ﲚ␊ئم␊ئم
|
15 B | |
| 003205 | unicode/part1/U+FC9B NormalizationTest.txt |
ﲛ␊ئه␊ئه
|
15 B | |
| 003206 | unicode/part1/U+FC9C NormalizationTest.txt |
ﲜ␊بج
|
8 B | |
| 003207 | unicode/part1/U+FC9D NormalizationTest.txt |
ﲝ␊بح
|
8 B | |
| 003208 | unicode/part1/U+FC9E NormalizationTest.txt |
ﲞ␊بخ
|
8 B | |
| 003209 | unicode/part1/U+FC9F NormalizationTest.txt |
ﲟ␊بم
|
8 B | |
| 003210 | unicode/part1/U+FCA0 NormalizationTest.txt |
ﲠ␊به
|
8 B | |
| 003211 | unicode/part1/U+FCA1 NormalizationTest.txt |
ﲡ␊تج
|
8 B | |
| 003212 | unicode/part1/U+FCA2 NormalizationTest.txt |
ﲢ␊تح
|
8 B | |
| 003213 | unicode/part1/U+FCA3 NormalizationTest.txt |
ﲣ␊تخ
|
8 B | |
| 003214 | unicode/part1/U+FCA4 NormalizationTest.txt |
ﲤ␊تم
|
8 B | |
| 003215 | unicode/part1/U+FCA5 NormalizationTest.txt |
ﲥ␊ته
|
8 B | |
| 003216 | unicode/part1/U+FCA6 NormalizationTest.txt |
ﲦ␊ثم
|
8 B | |
| 003217 | unicode/part1/U+FCA7 NormalizationTest.txt |
ﲧ␊جح
|
8 B | |
| 003218 | unicode/part1/U+FCA8 NormalizationTest.txt |
ﲨ␊جم
|
8 B | |
| 003219 | unicode/part1/U+FCA9 NormalizationTest.txt |
ﲩ␊حج
|
8 B | |
| 003220 | unicode/part1/U+FCAA NormalizationTest.txt |
ﲪ␊حم
|
8 B | |
| 003221 | unicode/part1/U+FCAB NormalizationTest.txt |
ﲫ␊خج
|
8 B | |
| 003222 | unicode/part1/U+FCAC NormalizationTest.txt |
ﲬ␊خم
|
8 B | |
| 003223 | unicode/part1/U+FCAD NormalizationTest.txt |
ﲭ␊سج
|
8 B | |
| 003224 | unicode/part1/U+FCAE NormalizationTest.txt |
ﲮ␊سح
|
8 B | |
| 003225 | unicode/part1/U+FCAF NormalizationTest.txt |
ﲯ␊سخ
|
8 B | |
| 003226 | unicode/part1/U+FCB0 NormalizationTest.txt |
ﲰ␊سم
|
8 B | |
| 003227 | unicode/part1/U+FCB1 NormalizationTest.txt |
ﲱ␊صح
|
8 B | |
| 003228 | unicode/part1/U+FCB2 NormalizationTest.txt |
ﲲ␊صخ
|
8 B | |
| 003229 | unicode/part1/U+FCB3 NormalizationTest.txt |
ﲳ␊صم
|
8 B | |
| 003230 | unicode/part1/U+FCB4 NormalizationTest.txt |
ﲴ␊ضج
|
8 B | |
| 003231 | unicode/part1/U+FCB5 NormalizationTest.txt |
ﲵ␊ضح
|
8 B | |
| 003232 | unicode/part1/U+FCB6 NormalizationTest.txt |
ﲶ␊ضخ
|
8 B | |
| 003233 | unicode/part1/U+FCB7 NormalizationTest.txt |
ﲷ␊ضم
|
8 B | |
| 003234 | unicode/part1/U+FCB8 NormalizationTest.txt |
ﲸ␊طح
|
8 B | |
| 003235 | unicode/part1/U+FCB9 NormalizationTest.txt |
ﲹ␊ظم
|
8 B | |
| 003236 | unicode/part1/U+FCBA NormalizationTest.txt |
ﲺ␊عج
|
8 B | |
| 003237 | unicode/part1/U+FCBB NormalizationTest.txt |
ﲻ␊عم
|
8 B | |
| 003238 | unicode/part1/U+FCBC NormalizationTest.txt |
ﲼ␊غج
|
8 B | |
| 003239 | unicode/part1/U+FCBD NormalizationTest.txt |
ﲽ␊غم
|
8 B | |
| 003240 | unicode/part1/U+FCBE NormalizationTest.txt |
ﲾ␊فج
|
8 B | |
| 003241 | unicode/part1/U+FCBF NormalizationTest.txt |
ﲿ␊فح
|
8 B | |
| 003242 | unicode/part1/U+FCC0 NormalizationTest.txt |
ﳀ␊فخ
|
8 B | |
| 003243 | unicode/part1/U+FCC1 NormalizationTest.txt |
ﳁ␊فم
|
8 B | |
| 003244 | unicode/part1/U+FCC2 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