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

956 of 11,911 cases

Case Name Expected Note Size
000491 unicode/part1/U+0CCB NormalizationTest.txt ೋ␊ೋ Line 541: KANNADA VOWEL SIGN OO. Its distinct columns, one per line. 13 B
000492 unicode/part1/U+0D4A NormalizationTest.txt ൊ␊ൊ Line 542: MALAYALAM VOWEL SIGN O. Its distinct columns, one per line. 10 B
000493 unicode/part1/U+0D4B NormalizationTest.txt ോ␊ോ Line 543: MALAYALAM VOWEL SIGN OO. Its distinct columns, one per line. 10 B
000494 unicode/part1/U+0D4C NormalizationTest.txt ൌ␊ൌ Line 544: MALAYALAM VOWEL SIGN AU. Its distinct columns, one per line. 10 B
000495 unicode/part1/U+0DDA NormalizationTest.txt ේ␊ේ Line 545: SINHALA VOWEL SIGN DIGA KOMBUVA. Its distinct columns, one per line. 10 B
000496 unicode/part1/U+0DDC NormalizationTest.txt ො␊ො Line 546: SINHALA VOWEL SIGN KOMBUVA HAA AELA-PILLA. Its distinct columns, one per line. 10 B
000497 unicode/part1/U+0DDD NormalizationTest.txt ෝ␊ෝ Line 547: SINHALA VOWEL SIGN KOMBUVA HAA DIGA AELA-PILLA. Its distinct columns, one per line. 13 B
000498 unicode/part1/U+0DDE NormalizationTest.txt ෞ␊ෞ Line 548: SINHALA VOWEL SIGN KOMBUVA HAA GAYANUKITTA. Its distinct columns, one per line. 10 B
000523 unicode/part1/U+1026 NormalizationTest.txt ဦ␊ဦ Line 573: MYANMAR LETTER UU. Its distinct columns, one per line. 10 B
000525 unicode/part1/U+1B06 NormalizationTest.txt ᬆ␊ᬆ Line 575: BALINESE LETTER AKARA TEDUNG. Its distinct columns, one per line. 10 B
000526 unicode/part1/U+1B08 NormalizationTest.txt ᬈ␊ᬈ Line 576: BALINESE LETTER IKARA TEDUNG. Its distinct columns, one per line. 10 B
000527 unicode/part1/U+1B0A NormalizationTest.txt ᬊ␊ᬊ Line 577: BALINESE LETTER UKARA TEDUNG. Its distinct columns, one per line. 10 B
000528 unicode/part1/U+1B0C NormalizationTest.txt ᬌ␊ᬌ Line 578: BALINESE LETTER RA REPA TEDUNG. Its distinct columns, one per line. 10 B
000529 unicode/part1/U+1B0E NormalizationTest.txt ᬎ␊ᬎ Line 579: BALINESE LETTER LA LENGA TEDUNG. Its distinct columns, one per line. 10 B
000530 unicode/part1/U+1B12 NormalizationTest.txt ᬒ␊ᬒ Line 580: BALINESE LETTER OKARA TEDUNG. Its distinct columns, one per line. 10 B
000531 unicode/part1/U+1B3B NormalizationTest.txt ᬻ␊ᬻ Line 581: BALINESE VOWEL SIGN RA REPA TEDUNG. Its distinct columns, one per line. 10 B
000532 unicode/part1/U+1B3D NormalizationTest.txt ᬽ␊ᬽ Line 582: BALINESE VOWEL SIGN LA LENGA TEDUNG. Its distinct columns, one per line. 10 B
000533 unicode/part1/U+1B40 NormalizationTest.txt ᭀ␊ᭀ Line 583: BALINESE VOWEL SIGN TALING TEDUNG. Its distinct columns, one per line. 10 B
000534 unicode/part1/U+1B41 NormalizationTest.txt ᭁ␊ᭁ Line 584: BALINESE VOWEL SIGN TALING REPA TEDUNG. Its distinct columns, one per line. 10 B
000535 unicode/part1/U+1B43 NormalizationTest.txt ᭃ␊ᭃ Line 585: BALINESE VOWEL SIGN PEPET TEDUNG. Its distinct columns, one per line. 10 B
000634 unicode/part1/U+1E00 NormalizationTest.txt Ḁ␊Ḁ Line 684: LATIN CAPITAL LETTER A WITH RING BELOW. Its distinct columns, one per line. 7 B
000635 unicode/part1/U+1E01 NormalizationTest.txt ḁ␊ḁ Line 685: LATIN SMALL LETTER A WITH RING BELOW. Its distinct columns, one per line. 7 B
000636 unicode/part1/U+1E02 NormalizationTest.txt Ḃ␊Ḃ Line 686: LATIN CAPITAL LETTER B WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000637 unicode/part1/U+1E03 NormalizationTest.txt ḃ␊ḃ Line 687: LATIN SMALL LETTER B WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000638 unicode/part1/U+1E04 NormalizationTest.txt Ḅ␊Ḅ Line 688: LATIN CAPITAL LETTER B WITH DOT BELOW. Its distinct columns, one per line. 7 B
000639 unicode/part1/U+1E05 NormalizationTest.txt ḅ␊ḅ Line 689: LATIN SMALL LETTER B WITH DOT BELOW. Its distinct columns, one per line. 7 B
000640 unicode/part1/U+1E06 NormalizationTest.txt Ḇ␊Ḇ Line 690: LATIN CAPITAL LETTER B WITH LINE BELOW. Its distinct columns, one per line. 7 B
000641 unicode/part1/U+1E07 NormalizationTest.txt ḇ␊ḇ Line 691: LATIN SMALL LETTER B WITH LINE BELOW. Its distinct columns, one per line. 7 B
000642 unicode/part1/U+1E08 NormalizationTest.txt Ḉ␊Ḉ Line 692: LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE. Its distinct columns, one per line. 9 B
000643 unicode/part1/U+1E09 NormalizationTest.txt ḉ␊ḉ Line 693: LATIN SMALL LETTER C WITH CEDILLA AND ACUTE. Its distinct columns, one per line. 9 B
000644 unicode/part1/U+1E0B NormalizationTest.txt ḋ␊ḋ Line 695: LATIN SMALL LETTER D WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000645 unicode/part1/U+1E0D NormalizationTest.txt ḍ␊ḍ Line 697: LATIN SMALL LETTER D WITH DOT BELOW. Its distinct columns, one per line. 7 B
000646 unicode/part1/U+1E0E NormalizationTest.txt Ḏ␊Ḏ Line 698: LATIN CAPITAL LETTER D WITH LINE BELOW. Its distinct columns, one per line. 7 B
000647 unicode/part1/U+1E0F NormalizationTest.txt ḏ␊ḏ Line 699: LATIN SMALL LETTER D WITH LINE BELOW. Its distinct columns, one per line. 7 B
000648 unicode/part1/U+1E10 NormalizationTest.txt Ḑ␊Ḑ Line 700: LATIN CAPITAL LETTER D WITH CEDILLA. Its distinct columns, one per line. 7 B
000649 unicode/part1/U+1E11 NormalizationTest.txt ḑ␊ḑ Line 701: LATIN SMALL LETTER D WITH CEDILLA. Its distinct columns, one per line. 7 B
000650 unicode/part1/U+1E12 NormalizationTest.txt Ḓ␊Ḓ Line 702: LATIN CAPITAL LETTER D WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000651 unicode/part1/U+1E13 NormalizationTest.txt ḓ␊ḓ Line 703: LATIN SMALL LETTER D WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000652 unicode/part1/U+1E15 NormalizationTest.txt ḕ␊ḕ Line 705: LATIN SMALL LETTER E WITH MACRON AND GRAVE. Its distinct columns, one per line. 9 B
000653 unicode/part1/U+1E16 NormalizationTest.txt Ḗ␊Ḗ Line 706: LATIN CAPITAL LETTER E WITH MACRON AND ACUTE. Its distinct columns, one per line. 9 B
000654 unicode/part1/U+1E17 NormalizationTest.txt ḗ␊ḗ Line 707: LATIN SMALL LETTER E WITH MACRON AND ACUTE. Its distinct columns, one per line. 9 B
000655 unicode/part1/U+1E18 NormalizationTest.txt Ḙ␊Ḙ Line 708: LATIN CAPITAL LETTER E WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000656 unicode/part1/U+1E19 NormalizationTest.txt ḙ␊ḙ Line 709: LATIN SMALL LETTER E WITH CIRCUMFLEX BELOW. Its distinct columns, one per line. 7 B
000657 unicode/part1/U+1E1A NormalizationTest.txt Ḛ␊Ḛ Line 710: LATIN CAPITAL LETTER E WITH TILDE BELOW. Its distinct columns, one per line. 7 B
000658 unicode/part1/U+1E1B NormalizationTest.txt ḛ␊ḛ Line 711: LATIN SMALL LETTER E WITH TILDE BELOW. Its distinct columns, one per line. 7 B
000659 unicode/part1/U+1E1C NormalizationTest.txt Ḝ␊Ḝ Line 712: LATIN CAPITAL LETTER E WITH CEDILLA AND BREVE. Its distinct columns, one per line. 9 B
000660 unicode/part1/U+1E1D NormalizationTest.txt ḝ␊ḝ Line 713: LATIN SMALL LETTER E WITH CEDILLA AND BREVE. Its distinct columns, one per line. 9 B
000661 unicode/part1/U+1E1E NormalizationTest.txt Ḟ␊Ḟ Line 714: LATIN CAPITAL LETTER F WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000662 unicode/part1/U+1E1F NormalizationTest.txt ḟ␊ḟ Line 715: LATIN SMALL LETTER F WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000663 unicode/part1/U+1E20 NormalizationTest.txt Ḡ␊Ḡ Line 716: LATIN CAPITAL LETTER G WITH MACRON. Its distinct columns, one per line. 7 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.