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

727 of 11,911 cases

Case Name Expected Note Size
008284 unicode/part4/line 19519 NormalizationTest.txt ử␊ử␊ử Line 19519: LATIN SMALL LETTER U WITH HORN, COMBINING HOOK ABOVE. Its distinct columns, one per line. 14 B
008285 unicode/part4/line 19520 NormalizationTest.txt ử␊ử␊ử Line 19520: LATIN SMALL LETTER U WITH HOOK ABOVE, COMBINING HORN. Its distinct columns, one per line. 15 B
008286 unicode/part4/line 19521 NormalizationTest.txt Ữ␊Ữ␊Ữ Line 19521: LATIN CAPITAL LETTER U WITH TILDE, COMBINING HORN. Its distinct columns, one per line. 14 B
008287 unicode/part4/line 19522 NormalizationTest.txt Ữ␊Ữ␊Ữ Line 19522: LATIN CAPITAL LETTER U WITH HORN, COMBINING TILDE. Its distinct columns, one per line. 14 B
008288 unicode/part4/line 19523 NormalizationTest.txt ữ␊ữ␊ữ Line 19523: LATIN SMALL LETTER U WITH TILDE, COMBINING HORN. Its distinct columns, one per line. 14 B
008289 unicode/part4/line 19524 NormalizationTest.txt ữ␊ữ␊ữ Line 19524: LATIN SMALL LETTER U WITH HORN, COMBINING TILDE. Its distinct columns, one per line. 14 B
008290 unicode/part4/line 19525 NormalizationTest.txt Ự␊Ự␊Ự Line 19525: LATIN CAPITAL LETTER U WITH HORN, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008291 unicode/part4/line 19526 NormalizationTest.txt Ự␊Ự␊Ự Line 19526: LATIN CAPITAL LETTER U WITH DOT BELOW, COMBINING HORN. Its distinct columns, one per line. 15 B
008292 unicode/part4/line 19527 NormalizationTest.txt ự␊ự␊ự Line 19527: LATIN SMALL LETTER U WITH HORN, COMBINING DOT BELOW. Its distinct columns, one per line. 14 B
008293 unicode/part4/line 19528 NormalizationTest.txt ự␊ự␊ự Line 19528: LATIN SMALL LETTER U WITH DOT BELOW, COMBINING HORN. Its distinct columns, one per line. 15 B
008294 unicode/part4/line 19529 NormalizationTest.txt ἂ␊ἂ␊ἂ Line 19529: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008295 unicode/part4/line 19530 NormalizationTest.txt ἂ␊ἂ␊ἂ Line 19530: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008296 unicode/part4/line 19531 NormalizationTest.txt ἃ␊ἃ␊ἃ Line 19531: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008297 unicode/part4/line 19532 NormalizationTest.txt ἃ␊ἃ␊ἃ Line 19532: GREEK SMALL LETTER ALPHA WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008298 unicode/part4/line 19533 NormalizationTest.txt ἄ␊ἄ␊ἄ Line 19533: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008299 unicode/part4/line 19534 NormalizationTest.txt ἄ␊ἄ␊ἄ Line 19534: GREEK SMALL LETTER ALPHA WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
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

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.