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
3,833 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 003083 | unicode/part1/U+FC21 NormalizationTest.txt |
ﰡ␊صم
|
8 B | |
| 003084 | unicode/part1/U+FC22 NormalizationTest.txt |
ﰢ␊ضج
|
8 B | |
| 003085 | unicode/part1/U+FC23 NormalizationTest.txt |
ﰣ␊ضح
|
8 B | |
| 003086 | unicode/part1/U+FC24 NormalizationTest.txt |
ﰤ␊ضخ
|
8 B | |
| 003087 | unicode/part1/U+FC25 NormalizationTest.txt |
ﰥ␊ضم
|
8 B | |
| 003088 | unicode/part1/U+FC26 NormalizationTest.txt |
ﰦ␊طح
|
8 B | |
| 003089 | unicode/part1/U+FC27 NormalizationTest.txt |
ﰧ␊طم
|
8 B | |
| 003090 | unicode/part1/U+FC28 NormalizationTest.txt |
ﰨ␊ظم
|
8 B | |
| 003091 | unicode/part1/U+FC29 NormalizationTest.txt |
ﰩ␊عج
|
8 B | |
| 003092 | unicode/part1/U+FC2A NormalizationTest.txt |
ﰪ␊عم
|
8 B | |
| 003093 | unicode/part1/U+FC2B NormalizationTest.txt |
ﰫ␊غج
|
8 B | |
| 003094 | unicode/part1/U+FC2C NormalizationTest.txt |
ﰬ␊غم
|
8 B | |
| 003095 | unicode/part1/U+FC2D NormalizationTest.txt |
ﰭ␊فج
|
8 B | |
| 003096 | unicode/part1/U+FC2E NormalizationTest.txt |
ﰮ␊فح
|
8 B | |
| 003097 | unicode/part1/U+FC2F NormalizationTest.txt |
ﰯ␊فخ
|
8 B | |
| 003098 | unicode/part1/U+FC30 NormalizationTest.txt |
ﰰ␊فم
|
8 B | |
| 003099 | unicode/part1/U+FC31 NormalizationTest.txt |
ﰱ␊فى
|
8 B | |
| 003100 | unicode/part1/U+FC32 NormalizationTest.txt |
ﰲ␊في
|
8 B | |
| 003101 | unicode/part1/U+FC33 NormalizationTest.txt |
ﰳ␊قح
|
8 B | |
| 003102 | unicode/part1/U+FC34 NormalizationTest.txt |
ﰴ␊قم
|
8 B | |
| 003103 | unicode/part1/U+FC35 NormalizationTest.txt |
ﰵ␊قى
|
8 B | |
| 003104 | unicode/part1/U+FC36 NormalizationTest.txt |
ﰶ␊قي
|
8 B | |
| 003105 | unicode/part1/U+FC37 NormalizationTest.txt |
ﰷ␊كا
|
8 B | |
| 003106 | unicode/part1/U+FC38 NormalizationTest.txt |
ﰸ␊كج
|
8 B | |
| 003107 | unicode/part1/U+FC39 NormalizationTest.txt |
ﰹ␊كح
|
8 B | |
| 003108 | unicode/part1/U+FC3A NormalizationTest.txt |
ﰺ␊كخ
|
8 B | |
| 003109 | unicode/part1/U+FC3B NormalizationTest.txt |
ﰻ␊كل
|
8 B | |
| 003110 | unicode/part1/U+FC3C NormalizationTest.txt |
ﰼ␊كم
|
8 B | |
| 003111 | unicode/part1/U+FC3D NormalizationTest.txt |
ﰽ␊كى
|
8 B | |
| 003112 | unicode/part1/U+FC3E NormalizationTest.txt |
ﰾ␊كي
|
8 B | |
| 003113 | unicode/part1/U+FC3F NormalizationTest.txt |
ﰿ␊لج
|
8 B | |
| 003114 | unicode/part1/U+FC40 NormalizationTest.txt |
ﱀ␊لح
|
8 B | |
| 003115 | unicode/part1/U+FC41 NormalizationTest.txt |
ﱁ␊لخ
|
8 B | |
| 003116 | unicode/part1/U+FC42 NormalizationTest.txt |
ﱂ␊لم
|
8 B | |
| 003117 | unicode/part1/U+FC43 NormalizationTest.txt |
ﱃ␊لى
|
8 B | |
| 003118 | unicode/part1/U+FC44 NormalizationTest.txt |
ﱄ␊لي
|
8 B | |
| 003119 | unicode/part1/U+FC45 NormalizationTest.txt |
ﱅ␊مج
|
8 B | |
| 003120 | unicode/part1/U+FC46 NormalizationTest.txt |
ﱆ␊مح
|
8 B | |
| 003121 | unicode/part1/U+FC47 NormalizationTest.txt |
ﱇ␊مخ
|
8 B | |
| 003122 | unicode/part1/U+FC48 NormalizationTest.txt |
ﱈ␊مم
|
8 B | |
| 003123 | unicode/part1/U+FC49 NormalizationTest.txt |
ﱉ␊مى
|
8 B | |
| 003124 | unicode/part1/U+FC4A NormalizationTest.txt |
ﱊ␊مي
|
8 B | |
| 003125 | unicode/part1/U+FC4B NormalizationTest.txt |
ﱋ␊نج
|
8 B | |
| 003126 | unicode/part1/U+FC4C NormalizationTest.txt |
ﱌ␊نح
|
8 B | |
| 003127 | unicode/part1/U+FC4D NormalizationTest.txt |
ﱍ␊نخ
|
8 B | |
| 003128 | unicode/part1/U+FC4E NormalizationTest.txt |
ﱎ␊نم
|
8 B | |
| 003129 | unicode/part1/U+FC4F NormalizationTest.txt |
ﱏ␊نى
|
8 B | |
| 003130 | unicode/part1/U+FC50 NormalizationTest.txt |
ﱐ␊ني
|
8 B | |
| 003131 | unicode/part1/U+FC51 NormalizationTest.txt |
ﱑ␊هج
|
8 B | |
| 003132 | unicode/part1/U+FC52 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