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 |
|---|---|---|---|---|
| 003295 | unicode/part1/U+FCF5 NormalizationTest.txt |
ﳵ␊طى
|
8 B | |
| 003296 | unicode/part1/U+FCF6 NormalizationTest.txt |
ﳶ␊طي
|
8 B | |
| 003297 | unicode/part1/U+FCF7 NormalizationTest.txt |
ﳷ␊عى
|
8 B | |
| 003298 | unicode/part1/U+FCF8 NormalizationTest.txt |
ﳸ␊عي
|
8 B | |
| 003299 | unicode/part1/U+FCF9 NormalizationTest.txt |
ﳹ␊غى
|
8 B | |
| 003300 | unicode/part1/U+FCFA NormalizationTest.txt |
ﳺ␊غي
|
8 B | |
| 003301 | unicode/part1/U+FCFB NormalizationTest.txt |
ﳻ␊سى
|
8 B | |
| 003302 | unicode/part1/U+FCFC NormalizationTest.txt |
ﳼ␊سي
|
8 B | |
| 003303 | unicode/part1/U+FCFD NormalizationTest.txt |
ﳽ␊شى
|
8 B | |
| 003304 | unicode/part1/U+FCFE NormalizationTest.txt |
ﳾ␊شي
|
8 B | |
| 003305 | unicode/part1/U+FCFF NormalizationTest.txt |
ﳿ␊حى
|
8 B | |
| 003306 | unicode/part1/U+FD00 NormalizationTest.txt |
ﴀ␊حي
|
8 B | |
| 003307 | unicode/part1/U+FD01 NormalizationTest.txt |
ﴁ␊جى
|
8 B | |
| 003308 | unicode/part1/U+FD02 NormalizationTest.txt |
ﴂ␊جي
|
8 B | |
| 003309 | unicode/part1/U+FD03 NormalizationTest.txt |
ﴃ␊خى
|
8 B | |
| 003310 | unicode/part1/U+FD04 NormalizationTest.txt |
ﴄ␊خي
|
8 B | |
| 003311 | unicode/part1/U+FD05 NormalizationTest.txt |
ﴅ␊صى
|
8 B | |
| 003312 | unicode/part1/U+FD06 NormalizationTest.txt |
ﴆ␊صي
|
8 B | |
| 003313 | unicode/part1/U+FD07 NormalizationTest.txt |
ﴇ␊ضى
|
8 B | |
| 003314 | unicode/part1/U+FD08 NormalizationTest.txt |
ﴈ␊ضي
|
8 B | |
| 003315 | unicode/part1/U+FD09 NormalizationTest.txt |
ﴉ␊شج
|
8 B | |
| 003316 | unicode/part1/U+FD0A NormalizationTest.txt |
ﴊ␊شح
|
8 B | |
| 003317 | unicode/part1/U+FD0B NormalizationTest.txt |
ﴋ␊شخ
|
8 B | |
| 003318 | unicode/part1/U+FD0C NormalizationTest.txt |
ﴌ␊شم
|
8 B | |
| 003319 | unicode/part1/U+FD0D NormalizationTest.txt |
ﴍ␊شر
|
8 B | |
| 003320 | unicode/part1/U+FD0E NormalizationTest.txt |
ﴎ␊سر
|
8 B | |
| 003321 | unicode/part1/U+FD0F NormalizationTest.txt |
ﴏ␊صر
|
8 B | |
| 003322 | unicode/part1/U+FD10 NormalizationTest.txt |
ﴐ␊ضر
|
8 B | |
| 003323 | unicode/part1/U+FD11 NormalizationTest.txt |
ﴑ␊طى
|
8 B | |
| 003324 | unicode/part1/U+FD12 NormalizationTest.txt |
ﴒ␊طي
|
8 B | |
| 003325 | unicode/part1/U+FD13 NormalizationTest.txt |
ﴓ␊عى
|
8 B | |
| 003326 | unicode/part1/U+FD14 NormalizationTest.txt |
ﴔ␊عي
|
8 B | |
| 003327 | unicode/part1/U+FD15 NormalizationTest.txt |
ﴕ␊غى
|
8 B | |
| 003328 | unicode/part1/U+FD16 NormalizationTest.txt |
ﴖ␊غي
|
8 B | |
| 003329 | unicode/part1/U+FD17 NormalizationTest.txt |
ﴗ␊سى
|
8 B | |
| 003330 | unicode/part1/U+FD18 NormalizationTest.txt |
ﴘ␊سي
|
8 B | |
| 003331 | unicode/part1/U+FD19 NormalizationTest.txt |
ﴙ␊شى
|
8 B | |
| 003332 | unicode/part1/U+FD1A NormalizationTest.txt |
ﴚ␊شي
|
8 B | |
| 003333 | unicode/part1/U+FD1B NormalizationTest.txt |
ﴛ␊حى
|
8 B | |
| 003334 | unicode/part1/U+FD1C NormalizationTest.txt |
ﴜ␊حي
|
8 B | |
| 003335 | unicode/part1/U+FD1D NormalizationTest.txt |
ﴝ␊جى
|
8 B | |
| 003336 | unicode/part1/U+FD1E NormalizationTest.txt |
ﴞ␊جي
|
8 B | |
| 003337 | unicode/part1/U+FD1F NormalizationTest.txt |
ﴟ␊خى
|
8 B | |
| 003338 | unicode/part1/U+FD20 NormalizationTest.txt |
ﴠ␊خي
|
8 B | |
| 003339 | unicode/part1/U+FD21 NormalizationTest.txt |
ﴡ␊صى
|
8 B | |
| 003340 | unicode/part1/U+FD22 NormalizationTest.txt |
ﴢ␊صي
|
8 B | |
| 003341 | unicode/part1/U+FD23 NormalizationTest.txt |
ﴣ␊ضى
|
8 B | |
| 003342 | unicode/part1/U+FD24 NormalizationTest.txt |
ﴤ␊ضي
|
8 B | |
| 003343 | unicode/part1/U+FD25 NormalizationTest.txt |
ﴥ␊شج
|
8 B | |
| 003344 | unicode/part1/U+FD26 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