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

All 11,911 cases

Case Name Expected Note Size
008400 unicode/part4/line 19635 NormalizationTest.txt Ὗ␊Ὗ␊Ὗ Line 19635: GREEK CAPITAL LETTER UPSILON WITH DASIA, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008401 unicode/part4/line 19636 NormalizationTest.txt ὢ␊ὢ␊ὢ Line 19636: GREEK SMALL LETTER OMEGA WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008402 unicode/part4/line 19637 NormalizationTest.txt ὢ␊ὢ␊ὢ Line 19637: GREEK SMALL LETTER OMEGA WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008403 unicode/part4/line 19638 NormalizationTest.txt ὣ␊ὣ␊ὣ Line 19638: GREEK SMALL LETTER OMEGA WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008404 unicode/part4/line 19639 NormalizationTest.txt ὣ␊ὣ␊ὣ Line 19639: GREEK SMALL LETTER OMEGA WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008405 unicode/part4/line 19640 NormalizationTest.txt ὤ␊ὤ␊ὤ Line 19640: GREEK SMALL LETTER OMEGA WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008406 unicode/part4/line 19641 NormalizationTest.txt ὤ␊ὤ␊ὤ Line 19641: GREEK SMALL LETTER OMEGA WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008407 unicode/part4/line 19642 NormalizationTest.txt ὥ␊ὥ␊ὥ Line 19642: GREEK SMALL LETTER OMEGA WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008408 unicode/part4/line 19643 NormalizationTest.txt ὥ␊ὥ␊ὥ Line 19643: GREEK SMALL LETTER OMEGA WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008409 unicode/part4/line 19644 NormalizationTest.txt ὦ␊ὦ␊ὦ Line 19644: GREEK SMALL LETTER OMEGA WITH PSILI, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008410 unicode/part4/line 19645 NormalizationTest.txt ὧ␊ὧ␊ὧ Line 19645: GREEK SMALL LETTER OMEGA WITH DASIA, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008411 unicode/part4/line 19646 NormalizationTest.txt Ὢ␊Ὢ␊Ὢ Line 19646: GREEK CAPITAL LETTER OMEGA WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008412 unicode/part4/line 19647 NormalizationTest.txt Ὢ␊Ὢ␊Ὢ Line 19647: GREEK CAPITAL LETTER OMEGA WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008413 unicode/part4/line 19648 NormalizationTest.txt Ὣ␊Ὣ␊Ὣ Line 19648: GREEK CAPITAL LETTER OMEGA WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008414 unicode/part4/line 19649 NormalizationTest.txt Ὣ␊Ὣ␊Ὣ Line 19649: GREEK CAPITAL LETTER OMEGA WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008415 unicode/part4/line 19650 NormalizationTest.txt Ὤ␊Ὤ␊Ὤ Line 19650: GREEK CAPITAL LETTER OMEGA WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008416 unicode/part4/line 19651 NormalizationTest.txt Ὤ␊Ὤ␊Ὤ Line 19651: GREEK CAPITAL LETTER OMEGA WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008417 unicode/part4/line 19652 NormalizationTest.txt Ὥ␊Ὥ␊Ὥ Line 19652: GREEK CAPITAL LETTER OMEGA WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008418 unicode/part4/line 19653 NormalizationTest.txt Ὥ␊Ὥ␊Ὥ Line 19653: GREEK CAPITAL LETTER OMEGA WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008419 unicode/part4/line 19654 NormalizationTest.txt Ὦ␊Ὦ␊Ὦ Line 19654: GREEK CAPITAL LETTER OMEGA WITH PSILI, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008420 unicode/part4/line 19655 NormalizationTest.txt Ὧ␊Ὧ␊Ὧ Line 19655: GREEK CAPITAL LETTER OMEGA WITH DASIA, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008421 unicode/part4/line 19656 NormalizationTest.txt ᾀ␊ᾀ␊ᾀ Line 19656: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 16 B
008422 unicode/part4/line 19657 NormalizationTest.txt ᾀ␊ᾀ␊ᾀ Line 19657: GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI, COMBINING COMMA ABOVE. Its distinct columns, one per line. 16 B
008423 unicode/part4/line 19658 NormalizationTest.txt ᾀ␊ᾀ␊ᾀ Line 19658: GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI, COMBINING GREEK KORONIS. Its distinct columns, one per line. 16 B
008424 unicode/part4/line 19659 NormalizationTest.txt ᾁ␊ᾁ␊ᾁ Line 19659: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 16 B
008425 unicode/part4/line 19660 NormalizationTest.txt ᾁ␊ᾁ␊ᾁ Line 19660: GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI, COMBINING REVERSED COMMA ABOVE. Its distinct columns, one per line. 16 B
008426 unicode/part4/line 19661 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19661: GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 18 B
008427 unicode/part4/line 19662 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19662: GREEK SMALL LETTER ALPHA WITH PSILI AND YPOGEGRAMMENI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 18 B
008428 unicode/part4/line 19663 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19663: GREEK SMALL LETTER ALPHA WITH PSILI AND YPOGEGRAMMENI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 18 B
008429 unicode/part4/line 19664 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19664: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING GRAVE ACCENT, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 20 B
008430 unicode/part4/line 19665 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19665: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING GRAVE TONE MARK, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 20 B
008431 unicode/part4/line 19666 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19666: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING GREEK YPOGEGRAMMENI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 20 B
008432 unicode/part4/line 19667 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19667: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING GREEK YPOGEGRAMMENI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 20 B
008433 unicode/part4/line 19668 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19668: GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI, COMBINING COMMA ABOVE, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 20 B
008434 unicode/part4/line 19669 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19669: GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI, COMBINING COMMA ABOVE, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 20 B
008435 unicode/part4/line 19670 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19670: GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI, COMBINING GREEK KORONIS, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 20 B
008436 unicode/part4/line 19671 NormalizationTest.txt ᾂ␊ᾂ␊ᾂ Line 19671: GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI, COMBINING GREEK KORONIS, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 20 B
008437 unicode/part4/line 19672 NormalizationTest.txt ᾃ␊ᾃ␊ᾃ Line 19672: GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 18 B
008438 unicode/part4/line 19673 NormalizationTest.txt ᾃ␊ᾃ␊ᾃ Line 19673: GREEK SMALL LETTER ALPHA WITH DASIA AND YPOGEGRAMMENI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 18 B
008439 unicode/part4/line 19674 NormalizationTest.txt ᾃ␊ᾃ␊ᾃ Line 19674: GREEK SMALL LETTER ALPHA WITH DASIA AND YPOGEGRAMMENI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 18 B
008440 unicode/part4/line 19675 NormalizationTest.txt ᾃ␊ᾃ␊ᾃ Line 19675: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING GRAVE ACCENT, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 20 B
008441 unicode/part4/line 19676 NormalizationTest.txt ᾃ␊ᾃ␊ᾃ Line 19676: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING GRAVE TONE MARK, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 20 B
008442 unicode/part4/line 19677 NormalizationTest.txt ᾃ␊ᾃ␊ᾃ Line 19677: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING GREEK YPOGEGRAMMENI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 20 B
008443 unicode/part4/line 19678 NormalizationTest.txt ᾃ␊ᾃ␊ᾃ Line 19678: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING GREEK YPOGEGRAMMENI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 20 B
008444 unicode/part4/line 19679 NormalizationTest.txt ᾃ␊ᾃ␊ᾃ Line 19679: GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI, COMBINING REVERSED COMMA ABOVE, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 20 B
008445 unicode/part4/line 19680 NormalizationTest.txt ᾃ␊ᾃ␊ᾃ Line 19680: GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI, COMBINING REVERSED COMMA ABOVE, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 20 B
008446 unicode/part4/line 19681 NormalizationTest.txt ᾄ␊ᾄ␊ᾄ Line 19681: GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 18 B
008447 unicode/part4/line 19682 NormalizationTest.txt ᾄ␊ᾄ␊ᾄ Line 19682: GREEK SMALL LETTER ALPHA WITH PSILI AND YPOGEGRAMMENI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 18 B
008448 unicode/part4/line 19683 NormalizationTest.txt ᾄ␊ᾄ␊ᾄ Line 19683: GREEK SMALL LETTER ALPHA WITH PSILI AND YPOGEGRAMMENI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 18 B
008449 unicode/part4/line 19684 NormalizationTest.txt ᾄ␊ᾄ␊ᾄ Line 19684: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING ACUTE ACCENT, COMBINING GREEK YPOGEGRAMMENI. Its distinct columns, one per line. 20 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.