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
Clear

332 of 11,911 cases

Case Name Expected Note Size
009581 regression/tail/e + acute ending at 4 Focused regression eé 4 bytes, ending in U+0065 U+0301. 4 B
009582 regression/tail/e + acute ending at 5 Focused regression eeé 5 bytes, ending in U+0065 U+0301. 5 B
009583 regression/tail/e + acute ending at 6 Focused regression eeeé 6 bytes, ending in U+0065 U+0301. 6 B
009584 regression/tail/e + acute ending at 7 Focused regression eeeeé 7 bytes, ending in U+0065 U+0301. 7 B
009585 regression/tail/e + acute ending at 8 Focused regression eeeeeé 8 bytes, ending in U+0065 U+0301. 8 B
009586 regression/tail/e + acute ending at 9 Focused regression eeeeeeé 9 bytes, ending in U+0065 U+0301. 9 B
009587 regression/tail/e + acute ending at 10 Focused regression eeeeeeeé 10 bytes, ending in U+0065 U+0301. 10 B
009588 regression/tail/e + acute ending at 11 Focused regression eeeeeeeeé 11 bytes, ending in U+0065 U+0301. 11 B
009589 regression/tail/e + acute ending at 12 Focused regression eeeeeeeeeé 12 bytes, ending in U+0065 U+0301. 12 B
009590 regression/tail/e + acute ending at 13 Focused regression eeeeeeeeeeé 13 bytes, ending in U+0065 U+0301. 13 B
009591 regression/tail/e + acute ending at 14 Focused regression eeeeeeeeeeeé 14 bytes, ending in U+0065 U+0301. 14 B
009592 regression/tail/e + acute ending at 15 Focused regression eeeeeeeeeeeeé 15 bytes, ending in U+0065 U+0301. 15 B
009593 regression/tail/e + acute ending at 16 Focused regression eeeeeeeeeeeeeé 16 bytes, ending in U+0065 U+0301. 16 B
009594 regression/tail/e + acute ending at 17 Focused regression eeeeeeeeeeeeeeé 17 bytes, ending in U+0065 U+0301. 17 B
009595 regression/tail/e + acute ending at 18 Focused regression eeeeeeeeeeeeeeeé 18 bytes, ending in U+0065 U+0301. 18 B
009596 regression/tail/e + acute ending at 19 Focused regression eeeeeeeeeeeeeeeeé 19 bytes, ending in U+0065 U+0301. 19 B
009597 regression/tail/e + acute ending at 20 Focused regression eeeeeeeeeeeeeeeeeé 20 bytes, ending in U+0065 U+0301. 20 B
009598 regression/tail/e + acute ending at 21 Focused regression eeeeeeeeeeeeeeeeeeé 21 bytes, ending in U+0065 U+0301. 21 B
009599 regression/tail/e + acute ending at 22 Focused regression eeeeeeeeeeeeeeeeeeeé 22 bytes, ending in U+0065 U+0301. 22 B
009600 regression/tail/e + acute ending at 23 Focused regression eeeeeeeeeeeeeeeeeeeeé 23 bytes, ending in U+0065 U+0301. 23 B
009601 regression/tail/e + acute ending at 24 Focused regression eeeeeeeeeeeeeeeeeeeeeé 24 bytes, ending in U+0065 U+0301. 24 B
009602 regression/tail/e + acute ending at 25 Focused regression eeeeeeeeeeeeeeeeeeeeeeé 25 bytes, ending in U+0065 U+0301. 25 B
009603 regression/tail/e + acute ending at 26 Focused regression eeeeeeeeeeeeeeeeeeeeeeeé 26 bytes, ending in U+0065 U+0301. 26 B
009604 regression/tail/e + acute ending at 27 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeé 27 bytes, ending in U+0065 U+0301. 27 B
009605 regression/tail/e + acute ending at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeé 28 bytes, ending in U+0065 U+0301. 28 B
009606 regression/tail/e + acute ending at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeé 29 bytes, ending in U+0065 U+0301. 29 B
009607 regression/tail/e + acute ending at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeé 30 bytes, ending in U+0065 U+0301. 30 B
009608 regression/tail/e + acute ending at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeé 31 bytes, ending in U+0065 U+0301. 31 B
009609 regression/tail/e + acute ending at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 32 bytes, ending in U+0065 U+0301. 32 B
009610 regression/tail/e + acute ending at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 33 bytes, ending in U+0065 U+0301. 33 B
009611 regression/tail/e + acute ending at 34 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 34 bytes, ending in U+0065 U+0301. 34 B
009612 regression/tail/e + acute ending at 35 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 35 bytes, ending in U+0065 U+0301. 35 B
009613 regression/tail/e + acute ending at 36 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 36 bytes, ending in U+0065 U+0301. 36 B
009614 regression/tail/e + acute ending at 37 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 37 bytes, ending in U+0065 U+0301. 37 B
009615 regression/tail/e + acute ending at 38 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 38 bytes, ending in U+0065 U+0301. 38 B
009616 regression/tail/e + acute ending at 39 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 39 bytes, ending in U+0065 U+0301. 39 B
009617 regression/tail/e + acute ending at 40 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 40 bytes, ending in U+0065 U+0301. 40 B
009618 regression/tail/e + acute ending at 41 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 41 bytes, ending in U+0065 U+0301. 41 B
009619 regression/tail/e + acute ending at 42 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 42 bytes, ending in U+0065 U+0301. 42 B
009620 regression/tail/e + acute ending at 43 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 43 bytes, ending in U+0065 U+0301. 43 B
009621 regression/tail/e + acute ending at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 44 bytes, ending in U+0065 U+0301. 44 B
009622 regression/tail/e + acute ending at 45 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 45 bytes, ending in U+0065 U+0301. 45 B
009623 regression/tail/e + acute ending at 46 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 46 bytes, ending in U+0065 U+0301. 46 B
009624 regression/tail/e + acute ending at 47 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 47 bytes, ending in U+0065 U+0301. 47 B
009625 regression/tail/e + acute ending at 48 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 48 bytes, ending in U+0065 U+0301. 48 B
009626 regression/tail/e + acute ending at 49 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 49 bytes, ending in U+0065 U+0301. 49 B
009627 regression/tail/e + acute ending at 50 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeé 50 bytes, ending in U+0065 U+0301. 50 B
009628 regression/tail/e + acute ending at 51 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 51 bytes, ending in U+0065 U+0301. 51 B
009629 regression/tail/e + acute ending at 52 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 52 bytes, ending in U+0065 U+0301. 52 B
009630 regression/tail/e + acute ending at 53 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 53 bytes, ending in U+0065 U+0301. 53 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.