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 |
|---|---|---|---|---|
| 003445 | unicode/part1/U+FD9F NormalizationTest.txt |
ﶟ␊تجي
|
10 B | |
| 003446 | unicode/part1/U+FDA0 NormalizationTest.txt |
ﶠ␊تجى
|
10 B | |
| 003447 | unicode/part1/U+FDA1 NormalizationTest.txt |
ﶡ␊تخي
|
10 B | |
| 003448 | unicode/part1/U+FDA2 NormalizationTest.txt |
ﶢ␊تخى
|
10 B | |
| 003449 | unicode/part1/U+FDA3 NormalizationTest.txt |
ﶣ␊تمي
|
10 B | |
| 003450 | unicode/part1/U+FDA4 NormalizationTest.txt |
ﶤ␊تمى
|
10 B | |
| 003451 | unicode/part1/U+FDA5 NormalizationTest.txt |
ﶥ␊جمي
|
10 B | |
| 003452 | unicode/part1/U+FDA6 NormalizationTest.txt |
ﶦ␊جحى
|
10 B | |
| 003453 | unicode/part1/U+FDA7 NormalizationTest.txt |
ﶧ␊جمى
|
10 B | |
| 003454 | unicode/part1/U+FDA8 NormalizationTest.txt |
ﶨ␊سخى
|
10 B | |
| 003455 | unicode/part1/U+FDA9 NormalizationTest.txt |
ﶩ␊صحي
|
10 B | |
| 003456 | unicode/part1/U+FDAA NormalizationTest.txt |
ﶪ␊شحي
|
10 B | |
| 003457 | unicode/part1/U+FDAB NormalizationTest.txt |
ﶫ␊ضحي
|
10 B | |
| 003458 | unicode/part1/U+FDAC NormalizationTest.txt |
ﶬ␊لجي
|
10 B | |
| 003459 | unicode/part1/U+FDAD NormalizationTest.txt |
ﶭ␊لمي
|
10 B | |
| 003460 | unicode/part1/U+FDAE NormalizationTest.txt |
ﶮ␊يحي
|
10 B | |
| 003461 | unicode/part1/U+FDAF NormalizationTest.txt |
ﶯ␊يجي
|
10 B | |
| 003462 | unicode/part1/U+FDB0 NormalizationTest.txt |
ﶰ␊يمي
|
10 B | |
| 003463 | unicode/part1/U+FDB1 NormalizationTest.txt |
ﶱ␊ممي
|
10 B | |
| 003464 | unicode/part1/U+FDB2 NormalizationTest.txt |
ﶲ␊قمي
|
10 B | |
| 003465 | unicode/part1/U+FDB3 NormalizationTest.txt |
ﶳ␊نحي
|
10 B | |
| 003466 | unicode/part1/U+FDB4 NormalizationTest.txt |
ﶴ␊قمح
|
10 B | |
| 003467 | unicode/part1/U+FDB5 NormalizationTest.txt |
ﶵ␊لحم
|
10 B | |
| 003468 | unicode/part1/U+FDB6 NormalizationTest.txt |
ﶶ␊عمي
|
10 B | |
| 003469 | unicode/part1/U+FDB7 NormalizationTest.txt |
ﶷ␊كمي
|
10 B | |
| 003470 | unicode/part1/U+FDB8 NormalizationTest.txt |
ﶸ␊نجح
|
10 B | |
| 003471 | unicode/part1/U+FDB9 NormalizationTest.txt |
ﶹ␊مخي
|
10 B | |
| 003472 | unicode/part1/U+FDBA NormalizationTest.txt |
ﶺ␊لجم
|
10 B | |
| 003473 | unicode/part1/U+FDBB NormalizationTest.txt |
ﶻ␊كمم
|
10 B | |
| 003474 | unicode/part1/U+FDBC NormalizationTest.txt |
ﶼ␊لجم
|
10 B | |
| 003475 | unicode/part1/U+FDBD NormalizationTest.txt |
ﶽ␊نجح
|
10 B | |
| 003476 | unicode/part1/U+FDBE NormalizationTest.txt |
ﶾ␊جحي
|
10 B | |
| 003477 | unicode/part1/U+FDBF NormalizationTest.txt |
ﶿ␊حجي
|
10 B | |
| 003478 | unicode/part1/U+FDC0 NormalizationTest.txt |
ﷀ␊مجي
|
10 B | |
| 003479 | unicode/part1/U+FDC1 NormalizationTest.txt |
ﷁ␊فمي
|
10 B | |
| 003480 | unicode/part1/U+FDC2 NormalizationTest.txt |
ﷂ␊بحي
|
10 B | |
| 003481 | unicode/part1/U+FDC3 NormalizationTest.txt |
ﷃ␊كمم
|
10 B | |
| 003482 | unicode/part1/U+FDC4 NormalizationTest.txt |
ﷄ␊عجم
|
10 B | |
| 003483 | unicode/part1/U+FDC5 NormalizationTest.txt |
ﷅ␊صمم
|
10 B | |
| 003484 | unicode/part1/U+FDC6 NormalizationTest.txt |
ﷆ␊سخي
|
10 B | |
| 003485 | unicode/part1/U+FDC7 NormalizationTest.txt |
ﷇ␊نجي
|
10 B | |
| 003486 | unicode/part1/U+FDF0 NormalizationTest.txt |
ﷰ␊صلے
|
10 B | |
| 003487 | unicode/part1/U+FDF1 NormalizationTest.txt |
ﷱ␊قلے
|
10 B | |
| 003488 | unicode/part1/U+FDF2 NormalizationTest.txt |
ﷲ␊الله
|
12 B | |
| 003489 | unicode/part1/U+FDF3 NormalizationTest.txt |
ﷳ␊اكبر
|
12 B | |
| 003490 | unicode/part1/U+FDF4 NormalizationTest.txt |
ﷴ␊محمد
|
12 B | |
| 003491 | unicode/part1/U+FDF5 NormalizationTest.txt |
ﷵ␊صلعم
|
12 B | |
| 003492 | unicode/part1/U+FDF6 NormalizationTest.txt |
ﷶ␊رسول
|
12 B | |
| 003493 | unicode/part1/U+FDF7 NormalizationTest.txt |
ﷷ␊عليه
|
12 B | |
| 003494 | unicode/part1/U+FDF8 NormalizationTest.txt |
ﷸ␊وسلم
|
12 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