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
008300 unicode/part4/line 19535 NormalizationTest.txt ἅ␊ἅ␊ἅ Line 19535: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008301 unicode/part4/line 19536 NormalizationTest.txt ἅ␊ἅ␊ἅ Line 19536: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008302 unicode/part4/line 19537 NormalizationTest.txt ἆ␊ἆ␊ἆ Line 19537: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008303 unicode/part4/line 19538 NormalizationTest.txt ἇ␊ἇ␊ἇ Line 19538: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008304 unicode/part4/line 19539 NormalizationTest.txt Ἂ␊Ἂ␊Ἂ Line 19539: GREEK CAPITAL LETTER ALPHA WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008305 unicode/part4/line 19540 NormalizationTest.txt Ἂ␊Ἂ␊Ἂ Line 19540: GREEK CAPITAL LETTER ALPHA WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008306 unicode/part4/line 19541 NormalizationTest.txt Ἃ␊Ἃ␊Ἃ Line 19541: GREEK CAPITAL LETTER ALPHA WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008307 unicode/part4/line 19542 NormalizationTest.txt Ἃ␊Ἃ␊Ἃ Line 19542: GREEK CAPITAL LETTER ALPHA WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008308 unicode/part4/line 19543 NormalizationTest.txt Ἄ␊Ἄ␊Ἄ Line 19543: GREEK CAPITAL LETTER ALPHA WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008309 unicode/part4/line 19544 NormalizationTest.txt Ἄ␊Ἄ␊Ἄ Line 19544: GREEK CAPITAL LETTER ALPHA WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008310 unicode/part4/line 19545 NormalizationTest.txt Ἅ␊Ἅ␊Ἅ Line 19545: GREEK CAPITAL LETTER ALPHA WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008311 unicode/part4/line 19546 NormalizationTest.txt Ἅ␊Ἅ␊Ἅ Line 19546: GREEK CAPITAL LETTER ALPHA WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008312 unicode/part4/line 19547 NormalizationTest.txt Ἆ␊Ἆ␊Ἆ Line 19547: GREEK CAPITAL LETTER ALPHA WITH PSILI, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008313 unicode/part4/line 19548 NormalizationTest.txt Ἇ␊Ἇ␊Ἇ Line 19548: GREEK CAPITAL LETTER ALPHA WITH DASIA, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008314 unicode/part4/line 19549 NormalizationTest.txt ἒ␊ἒ␊ἒ Line 19549: GREEK SMALL LETTER EPSILON WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008315 unicode/part4/line 19550 NormalizationTest.txt ἒ␊ἒ␊ἒ Line 19550: GREEK SMALL LETTER EPSILON WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008316 unicode/part4/line 19551 NormalizationTest.txt ἓ␊ἓ␊ἓ Line 19551: GREEK SMALL LETTER EPSILON WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008317 unicode/part4/line 19552 NormalizationTest.txt ἓ␊ἓ␊ἓ Line 19552: GREEK SMALL LETTER EPSILON WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008318 unicode/part4/line 19553 NormalizationTest.txt ἔ␊ἔ␊ἔ Line 19553: GREEK SMALL LETTER EPSILON WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008319 unicode/part4/line 19554 NormalizationTest.txt ἔ␊ἔ␊ἔ Line 19554: GREEK SMALL LETTER EPSILON WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008320 unicode/part4/line 19555 NormalizationTest.txt ἕ␊ἕ␊ἕ Line 19555: GREEK SMALL LETTER EPSILON WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008321 unicode/part4/line 19556 NormalizationTest.txt ἕ␊ἕ␊ἕ Line 19556: GREEK SMALL LETTER EPSILON WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008322 unicode/part4/line 19557 NormalizationTest.txt Ἒ␊Ἒ␊Ἒ Line 19557: GREEK CAPITAL LETTER EPSILON WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008323 unicode/part4/line 19558 NormalizationTest.txt Ἒ␊Ἒ␊Ἒ Line 19558: GREEK CAPITAL LETTER EPSILON WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008324 unicode/part4/line 19559 NormalizationTest.txt Ἓ␊Ἓ␊Ἓ Line 19559: GREEK CAPITAL LETTER EPSILON WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008325 unicode/part4/line 19560 NormalizationTest.txt Ἓ␊Ἓ␊Ἓ Line 19560: GREEK CAPITAL LETTER EPSILON WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008326 unicode/part4/line 19561 NormalizationTest.txt Ἔ␊Ἔ␊Ἔ Line 19561: GREEK CAPITAL LETTER EPSILON WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008327 unicode/part4/line 19562 NormalizationTest.txt Ἔ␊Ἔ␊Ἔ Line 19562: GREEK CAPITAL LETTER EPSILON WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008328 unicode/part4/line 19563 NormalizationTest.txt Ἕ␊Ἕ␊Ἕ Line 19563: GREEK CAPITAL LETTER EPSILON WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008329 unicode/part4/line 19564 NormalizationTest.txt Ἕ␊Ἕ␊Ἕ Line 19564: GREEK CAPITAL LETTER EPSILON WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008330 unicode/part4/line 19565 NormalizationTest.txt ἢ␊ἢ␊ἢ Line 19565: GREEK SMALL LETTER ETA WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008331 unicode/part4/line 19566 NormalizationTest.txt ἢ␊ἢ␊ἢ Line 19566: GREEK SMALL LETTER ETA WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008332 unicode/part4/line 19567 NormalizationTest.txt ἣ␊ἣ␊ἣ Line 19567: GREEK SMALL LETTER ETA WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008333 unicode/part4/line 19568 NormalizationTest.txt ἣ␊ἣ␊ἣ Line 19568: GREEK SMALL LETTER ETA WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008334 unicode/part4/line 19569 NormalizationTest.txt ἤ␊ἤ␊ἤ Line 19569: GREEK SMALL LETTER ETA WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008335 unicode/part4/line 19570 NormalizationTest.txt ἤ␊ἤ␊ἤ Line 19570: GREEK SMALL LETTER ETA WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008336 unicode/part4/line 19571 NormalizationTest.txt ἥ␊ἥ␊ἥ Line 19571: GREEK SMALL LETTER ETA WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008337 unicode/part4/line 19572 NormalizationTest.txt ἥ␊ἥ␊ἥ Line 19572: GREEK SMALL LETTER ETA WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008338 unicode/part4/line 19573 NormalizationTest.txt ἦ␊ἦ␊ἦ Line 19573: GREEK SMALL LETTER ETA WITH PSILI, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008339 unicode/part4/line 19574 NormalizationTest.txt ἧ␊ἧ␊ἧ Line 19574: GREEK SMALL LETTER ETA WITH DASIA, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008340 unicode/part4/line 19575 NormalizationTest.txt Ἢ␊Ἢ␊Ἢ Line 19575: GREEK CAPITAL LETTER ETA WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008341 unicode/part4/line 19576 NormalizationTest.txt Ἢ␊Ἢ␊Ἢ Line 19576: GREEK CAPITAL LETTER ETA WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008342 unicode/part4/line 19577 NormalizationTest.txt Ἣ␊Ἣ␊Ἣ Line 19577: GREEK CAPITAL LETTER ETA WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008343 unicode/part4/line 19578 NormalizationTest.txt Ἣ␊Ἣ␊Ἣ Line 19578: GREEK CAPITAL LETTER ETA WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008344 unicode/part4/line 19579 NormalizationTest.txt Ἤ␊Ἤ␊Ἤ Line 19579: GREEK CAPITAL LETTER ETA WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008345 unicode/part4/line 19580 NormalizationTest.txt Ἤ␊Ἤ␊Ἤ Line 19580: GREEK CAPITAL LETTER ETA WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008346 unicode/part4/line 19581 NormalizationTest.txt Ἥ␊Ἥ␊Ἥ Line 19581: GREEK CAPITAL LETTER ETA WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008347 unicode/part4/line 19582 NormalizationTest.txt Ἥ␊Ἥ␊Ἥ Line 19582: GREEK CAPITAL LETTER ETA WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008348 unicode/part4/line 19583 NormalizationTest.txt Ἦ␊Ἦ␊Ἦ Line 19583: GREEK CAPITAL LETTER ETA WITH PSILI, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008349 unicode/part4/line 19584 NormalizationTest.txt Ἧ␊Ἧ␊Ἧ Line 19584: GREEK CAPITAL LETTER ETA WITH DASIA, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 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.