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
008350 unicode/part4/line 19585 NormalizationTest.txt ἲ␊ἲ␊ἲ Line 19585: GREEK SMALL LETTER IOTA WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008351 unicode/part4/line 19586 NormalizationTest.txt ἲ␊ἲ␊ἲ Line 19586: GREEK SMALL LETTER IOTA WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008352 unicode/part4/line 19587 NormalizationTest.txt ἳ␊ἳ␊ἳ Line 19587: GREEK SMALL LETTER IOTA WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008353 unicode/part4/line 19588 NormalizationTest.txt ἳ␊ἳ␊ἳ Line 19588: GREEK SMALL LETTER IOTA WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008354 unicode/part4/line 19589 NormalizationTest.txt ἴ␊ἴ␊ἴ Line 19589: GREEK SMALL LETTER IOTA WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008355 unicode/part4/line 19590 NormalizationTest.txt ἴ␊ἴ␊ἴ Line 19590: GREEK SMALL LETTER IOTA WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008356 unicode/part4/line 19591 NormalizationTest.txt ἵ␊ἵ␊ἵ Line 19591: GREEK SMALL LETTER IOTA WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008357 unicode/part4/line 19592 NormalizationTest.txt ἵ␊ἵ␊ἵ Line 19592: GREEK SMALL LETTER IOTA WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008358 unicode/part4/line 19593 NormalizationTest.txt ἶ␊ἶ␊ἶ Line 19593: GREEK SMALL LETTER IOTA WITH PSILI, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008359 unicode/part4/line 19594 NormalizationTest.txt ἷ␊ἷ␊ἷ Line 19594: GREEK SMALL LETTER IOTA WITH DASIA, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008360 unicode/part4/line 19595 NormalizationTest.txt Ἲ␊Ἲ␊Ἲ Line 19595: GREEK CAPITAL LETTER IOTA WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008361 unicode/part4/line 19596 NormalizationTest.txt Ἲ␊Ἲ␊Ἲ Line 19596: GREEK CAPITAL LETTER IOTA WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008362 unicode/part4/line 19597 NormalizationTest.txt Ἳ␊Ἳ␊Ἳ Line 19597: GREEK CAPITAL LETTER IOTA WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008363 unicode/part4/line 19598 NormalizationTest.txt Ἳ␊Ἳ␊Ἳ Line 19598: GREEK CAPITAL LETTER IOTA WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008364 unicode/part4/line 19599 NormalizationTest.txt Ἴ␊Ἴ␊Ἴ Line 19599: GREEK CAPITAL LETTER IOTA WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008365 unicode/part4/line 19600 NormalizationTest.txt Ἴ␊Ἴ␊Ἴ Line 19600: GREEK CAPITAL LETTER IOTA WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008366 unicode/part4/line 19601 NormalizationTest.txt Ἵ␊Ἵ␊Ἵ Line 19601: GREEK CAPITAL LETTER IOTA WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008367 unicode/part4/line 19602 NormalizationTest.txt Ἵ␊Ἵ␊Ἵ Line 19602: GREEK CAPITAL LETTER IOTA WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008368 unicode/part4/line 19603 NormalizationTest.txt Ἶ␊Ἶ␊Ἶ Line 19603: GREEK CAPITAL LETTER IOTA WITH PSILI, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008369 unicode/part4/line 19604 NormalizationTest.txt Ἷ␊Ἷ␊Ἷ Line 19604: GREEK CAPITAL LETTER IOTA WITH DASIA, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008370 unicode/part4/line 19605 NormalizationTest.txt ὂ␊ὂ␊ὂ Line 19605: GREEK SMALL LETTER OMICRON WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008371 unicode/part4/line 19606 NormalizationTest.txt ὂ␊ὂ␊ὂ Line 19606: GREEK SMALL LETTER OMICRON WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008372 unicode/part4/line 19607 NormalizationTest.txt ὃ␊ὃ␊ὃ Line 19607: GREEK SMALL LETTER OMICRON WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008373 unicode/part4/line 19608 NormalizationTest.txt ὃ␊ὃ␊ὃ Line 19608: GREEK SMALL LETTER OMICRON WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008374 unicode/part4/line 19609 NormalizationTest.txt ὄ␊ὄ␊ὄ Line 19609: GREEK SMALL LETTER OMICRON WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008375 unicode/part4/line 19610 NormalizationTest.txt ὄ␊ὄ␊ὄ Line 19610: GREEK SMALL LETTER OMICRON WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008376 unicode/part4/line 19611 NormalizationTest.txt ὅ␊ὅ␊ὅ Line 19611: GREEK SMALL LETTER OMICRON WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008377 unicode/part4/line 19612 NormalizationTest.txt ὅ␊ὅ␊ὅ Line 19612: GREEK SMALL LETTER OMICRON WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008378 unicode/part4/line 19613 NormalizationTest.txt Ὂ␊Ὂ␊Ὂ Line 19613: GREEK CAPITAL LETTER OMICRON WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008379 unicode/part4/line 19614 NormalizationTest.txt Ὂ␊Ὂ␊Ὂ Line 19614: GREEK CAPITAL LETTER OMICRON WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008380 unicode/part4/line 19615 NormalizationTest.txt Ὃ␊Ὃ␊Ὃ Line 19615: GREEK CAPITAL LETTER OMICRON WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008381 unicode/part4/line 19616 NormalizationTest.txt Ὃ␊Ὃ␊Ὃ Line 19616: GREEK CAPITAL LETTER OMICRON WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008382 unicode/part4/line 19617 NormalizationTest.txt Ὄ␊Ὄ␊Ὄ Line 19617: GREEK CAPITAL LETTER OMICRON WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008383 unicode/part4/line 19618 NormalizationTest.txt Ὄ␊Ὄ␊Ὄ Line 19618: GREEK CAPITAL LETTER OMICRON WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008384 unicode/part4/line 19619 NormalizationTest.txt Ὅ␊Ὅ␊Ὅ Line 19619: GREEK CAPITAL LETTER OMICRON WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008385 unicode/part4/line 19620 NormalizationTest.txt Ὅ␊Ὅ␊Ὅ Line 19620: GREEK CAPITAL LETTER OMICRON WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008386 unicode/part4/line 19621 NormalizationTest.txt ὒ␊ὒ␊ὒ Line 19621: GREEK SMALL LETTER UPSILON WITH PSILI, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008387 unicode/part4/line 19622 NormalizationTest.txt ὒ␊ὒ␊ὒ Line 19622: GREEK SMALL LETTER UPSILON WITH PSILI, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008388 unicode/part4/line 19623 NormalizationTest.txt ὓ␊ὓ␊ὓ Line 19623: GREEK SMALL LETTER UPSILON WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008389 unicode/part4/line 19624 NormalizationTest.txt ὓ␊ὓ␊ὓ Line 19624: GREEK SMALL LETTER UPSILON WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008390 unicode/part4/line 19625 NormalizationTest.txt ὔ␊ὔ␊ὔ Line 19625: GREEK SMALL LETTER UPSILON WITH PSILI, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008391 unicode/part4/line 19626 NormalizationTest.txt ὔ␊ὔ␊ὔ Line 19626: GREEK SMALL LETTER UPSILON WITH PSILI, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008392 unicode/part4/line 19627 NormalizationTest.txt ὕ␊ὕ␊ὕ Line 19627: GREEK SMALL LETTER UPSILON WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008393 unicode/part4/line 19628 NormalizationTest.txt ὕ␊ὕ␊ὕ Line 19628: GREEK SMALL LETTER UPSILON WITH DASIA, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 16 B
008394 unicode/part4/line 19629 NormalizationTest.txt ὖ␊ὖ␊ὖ Line 19629: GREEK SMALL LETTER UPSILON WITH PSILI, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008395 unicode/part4/line 19630 NormalizationTest.txt ὗ␊ὗ␊ὗ Line 19630: GREEK SMALL LETTER UPSILON WITH DASIA, COMBINING GREEK PERISPOMENI. Its distinct columns, one per line. 16 B
008396 unicode/part4/line 19631 NormalizationTest.txt Ὓ␊Ὓ␊Ὓ Line 19631: GREEK CAPITAL LETTER UPSILON WITH DASIA, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 16 B
008397 unicode/part4/line 19632 NormalizationTest.txt Ὓ␊Ὓ␊Ὓ Line 19632: GREEK CAPITAL LETTER UPSILON WITH DASIA, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 16 B
008398 unicode/part4/line 19633 NormalizationTest.txt Ὕ␊Ὕ␊Ὕ Line 19633: GREEK CAPITAL LETTER UPSILON WITH DASIA, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 16 B
008399 unicode/part4/line 19634 NormalizationTest.txt Ὕ␊Ὕ␊Ὕ Line 19634: GREEK CAPITAL LETTER UPSILON WITH DASIA, COMBINING ACUTE 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.