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
009631 regression/tail/e + acute ending at 54 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 54 bytes, ending in U+0065 U+0301. 54 B
009632 regression/tail/e + acute ending at 55 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 55 bytes, ending in U+0065 U+0301. 55 B
009633 regression/tail/e + acute ending at 56 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 56 bytes, ending in U+0065 U+0301. 56 B
009634 regression/tail/e + acute ending at 57 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 57 bytes, ending in U+0065 U+0301. 57 B
009635 regression/tail/e + acute ending at 58 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 58 bytes, ending in U+0065 U+0301. 58 B
009636 regression/tail/e + acute ending at 59 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 59 bytes, ending in U+0065 U+0301. 59 B
009637 regression/tail/e + acute ending at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 60 bytes, ending in U+0065 U+0301. 60 B
009638 regression/tail/e + acute ending at 61 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 61 bytes, ending in U+0065 U+0301. 61 B
009639 regression/tail/e + acute ending at 62 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 62 bytes, ending in U+0065 U+0301. 62 B
009640 regression/tail/e + acute ending at 63 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 63 bytes, ending in U+0065 U+0301. 63 B
009641 regression/tail/e + acute ending at 64 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 64 bytes, ending in U+0065 U+0301. 64 B
009642 regression/tail/e + acute ending at 65 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 65 bytes, ending in U+0065 U+0301. 65 B
009643 regression/tail/e + acute ending at 66 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 66 bytes, ending in U+0065 U+0301. 66 B
009644 regression/tail/e + acute ending at 67 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 67 bytes, ending in U+0065 U+0301. 67 B
009645 regression/tail/e + acute ending at 68 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 68 bytes, ending in U+0065 U+0301. 68 B
009646 regression/tail/e + acute ending at 69 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 69 bytes, ending in U+0065 U+0301. 69 B
009647 regression/tail/e + acute ending at 70 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 70 bytes, ending in U+0065 U+0301. 70 B
009648 regression/tail/acute ending at 2 Focused regression ́ 2 bytes, ending in U+0301. 2 B
009649 regression/tail/angstrom sign ending at 4 Focused regression eÅ 4 bytes, ending in U+212B. 4 B
009650 regression/tail/angstrom sign ending at 5 Focused regression eeÅ 5 bytes, ending in U+212B. 5 B
009651 regression/tail/angstrom sign ending at 6 Focused regression eeeÅ 6 bytes, ending in U+212B. 6 B
009652 regression/tail/angstrom sign ending at 7 Focused regression eeeeÅ 7 bytes, ending in U+212B. 7 B
009653 regression/tail/angstrom sign ending at 8 Focused regression eeeeeÅ 8 bytes, ending in U+212B. 8 B
009654 regression/tail/angstrom sign ending at 9 Focused regression eeeeeeÅ 9 bytes, ending in U+212B. 9 B
009655 regression/tail/angstrom sign ending at 10 Focused regression eeeeeeeÅ 10 bytes, ending in U+212B. 10 B
009656 regression/tail/angstrom sign ending at 11 Focused regression eeeeeeeeÅ 11 bytes, ending in U+212B. 11 B
009657 regression/tail/angstrom sign ending at 12 Focused regression eeeeeeeeeÅ 12 bytes, ending in U+212B. 12 B
009658 regression/tail/angstrom sign ending at 13 Focused regression eeeeeeeeeeÅ 13 bytes, ending in U+212B. 13 B
009659 regression/tail/angstrom sign ending at 14 Focused regression eeeeeeeeeeeÅ 14 bytes, ending in U+212B. 14 B
009660 regression/tail/angstrom sign ending at 15 Focused regression eeeeeeeeeeeeÅ 15 bytes, ending in U+212B. 15 B
009661 regression/tail/angstrom sign ending at 16 Focused regression eeeeeeeeeeeeeÅ 16 bytes, ending in U+212B. 16 B
009662 regression/tail/angstrom sign ending at 17 Focused regression eeeeeeeeeeeeeeÅ 17 bytes, ending in U+212B. 17 B
009663 regression/tail/angstrom sign ending at 18 Focused regression eeeeeeeeeeeeeeeÅ 18 bytes, ending in U+212B. 18 B
009664 regression/tail/angstrom sign ending at 19 Focused regression eeeeeeeeeeeeeeeeÅ 19 bytes, ending in U+212B. 19 B
009665 regression/tail/angstrom sign ending at 20 Focused regression eeeeeeeeeeeeeeeeeÅ 20 bytes, ending in U+212B. 20 B
009666 regression/tail/angstrom sign ending at 21 Focused regression eeeeeeeeeeeeeeeeeeÅ 21 bytes, ending in U+212B. 21 B
009667 regression/tail/angstrom sign ending at 22 Focused regression eeeeeeeeeeeeeeeeeeeÅ 22 bytes, ending in U+212B. 22 B
009668 regression/tail/angstrom sign ending at 23 Focused regression eeeeeeeeeeeeeeeeeeeeÅ 23 bytes, ending in U+212B. 23 B
009669 regression/tail/angstrom sign ending at 24 Focused regression eeeeeeeeeeeeeeeeeeeeeÅ 24 bytes, ending in U+212B. 24 B
009670 regression/tail/angstrom sign ending at 25 Focused regression eeeeeeeeeeeeeeeeeeeeeeÅ 25 bytes, ending in U+212B. 25 B
009671 regression/tail/angstrom sign ending at 26 Focused regression eeeeeeeeeeeeeeeeeeeeeeeÅ 26 bytes, ending in U+212B. 26 B
009672 regression/tail/angstrom sign ending at 27 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeÅ 27 bytes, ending in U+212B. 27 B
009673 regression/tail/angstrom sign ending at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeÅ 28 bytes, ending in U+212B. 28 B
009674 regression/tail/angstrom sign ending at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeÅ 29 bytes, ending in U+212B. 29 B
009675 regression/tail/angstrom sign ending at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeÅ 30 bytes, ending in U+212B. 30 B
009676 regression/tail/angstrom sign ending at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ 31 bytes, ending in U+212B. 31 B
009677 regression/tail/angstrom sign ending at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ 32 bytes, ending in U+212B. 32 B
009678 regression/tail/angstrom sign ending at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ 33 bytes, ending in U+212B. 33 B
009679 regression/tail/angstrom sign ending at 34 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ 34 bytes, ending in U+212B. 34 B
009680 regression/tail/angstrom sign ending at 35 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeÅ 35 bytes, ending in U+212B. 35 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.