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

5,928 of 11,911 cases

Case Name Expected Note Size
003895 unicode/part1/U+FFC3 NormalizationTest.txt ᅢ␊ᅢ Line 15120: HALFWIDTH HANGUL LETTER AE. Its distinct columns, one per line. 7 B
003896 unicode/part1/U+FFC4 NormalizationTest.txt ᅣ␊ᅣ Line 15121: HALFWIDTH HANGUL LETTER YA. Its distinct columns, one per line. 7 B
003897 unicode/part1/U+FFC5 NormalizationTest.txt ᅤ␊ᅤ Line 15122: HALFWIDTH HANGUL LETTER YAE. Its distinct columns, one per line. 7 B
003898 unicode/part1/U+FFC6 NormalizationTest.txt ᅥ␊ᅥ Line 15123: HALFWIDTH HANGUL LETTER EO. Its distinct columns, one per line. 7 B
003899 unicode/part1/U+FFC7 NormalizationTest.txt ᅦ␊ᅦ Line 15124: HALFWIDTH HANGUL LETTER E. Its distinct columns, one per line. 7 B
003900 unicode/part1/U+FFCA NormalizationTest.txt ᅧ␊ᅧ Line 15125: HALFWIDTH HANGUL LETTER YEO. Its distinct columns, one per line. 7 B
003901 unicode/part1/U+FFCB NormalizationTest.txt ᅨ␊ᅨ Line 15126: HALFWIDTH HANGUL LETTER YE. Its distinct columns, one per line. 7 B
003902 unicode/part1/U+FFCC NormalizationTest.txt ᅩ␊ᅩ Line 15127: HALFWIDTH HANGUL LETTER O. Its distinct columns, one per line. 7 B
003903 unicode/part1/U+FFCD NormalizationTest.txt ᅪ␊ᅪ Line 15128: HALFWIDTH HANGUL LETTER WA. Its distinct columns, one per line. 7 B
003904 unicode/part1/U+FFCE NormalizationTest.txt ᅫ␊ᅫ Line 15129: HALFWIDTH HANGUL LETTER WAE. Its distinct columns, one per line. 7 B
003905 unicode/part1/U+FFCF NormalizationTest.txt ᅬ␊ᅬ Line 15130: HALFWIDTH HANGUL LETTER OE. Its distinct columns, one per line. 7 B
003906 unicode/part1/U+FFD2 NormalizationTest.txt ᅭ␊ᅭ Line 15131: HALFWIDTH HANGUL LETTER YO. Its distinct columns, one per line. 7 B
003907 unicode/part1/U+FFD3 NormalizationTest.txt ᅮ␊ᅮ Line 15132: HALFWIDTH HANGUL LETTER U. Its distinct columns, one per line. 7 B
003908 unicode/part1/U+FFD4 NormalizationTest.txt ᅯ␊ᅯ Line 15133: HALFWIDTH HANGUL LETTER WEO. Its distinct columns, one per line. 7 B
003909 unicode/part1/U+FFD5 NormalizationTest.txt ᅰ␊ᅰ Line 15134: HALFWIDTH HANGUL LETTER WE. Its distinct columns, one per line. 7 B
003910 unicode/part1/U+FFD6 NormalizationTest.txt ᅱ␊ᅱ Line 15135: HALFWIDTH HANGUL LETTER WI. Its distinct columns, one per line. 7 B
003911 unicode/part1/U+FFD7 NormalizationTest.txt ᅲ␊ᅲ Line 15136: HALFWIDTH HANGUL LETTER YU. Its distinct columns, one per line. 7 B
003912 unicode/part1/U+FFDA NormalizationTest.txt ᅳ␊ᅳ Line 15137: HALFWIDTH HANGUL LETTER EU. Its distinct columns, one per line. 7 B
003913 unicode/part1/U+FFDB NormalizationTest.txt ᅴ␊ᅴ Line 15138: HALFWIDTH HANGUL LETTER YI. Its distinct columns, one per line. 7 B
003914 unicode/part1/U+FFDC NormalizationTest.txt ᅵ␊ᅵ Line 15139: HALFWIDTH HANGUL LETTER I. Its distinct columns, one per line. 7 B
003915 unicode/part1/U+FFE0 NormalizationTest.txt ¢␊¢ Line 15140: FULLWIDTH CENT SIGN. Its distinct columns, one per line. 6 B
003916 unicode/part1/U+FFE1 NormalizationTest.txt £␊£ Line 15141: FULLWIDTH POUND SIGN. Its distinct columns, one per line. 6 B
003917 unicode/part1/U+FFE2 NormalizationTest.txt ¬␊¬ Line 15142: FULLWIDTH NOT SIGN. Its distinct columns, one per line. 6 B
003918 unicode/part1/U+FFE3 NormalizationTest.txt  ̄␊ ̄ Line 15143: FULLWIDTH MACRON. Its distinct columns, one per line. 7 B
003919 unicode/part1/U+FFE4 NormalizationTest.txt ¦␊¦ Line 15144: FULLWIDTH BROKEN BAR. Its distinct columns, one per line. 6 B
003920 unicode/part1/U+FFE5 NormalizationTest.txt ¥␊¥ Line 15145: FULLWIDTH YEN SIGN. Its distinct columns, one per line. 6 B
003921 unicode/part1/U+FFE6 NormalizationTest.txt ₩␊₩ Line 15146: FULLWIDTH WON SIGN. Its distinct columns, one per line. 7 B
003922 unicode/part1/U+FFE8 NormalizationTest.txt │␊│ Line 15147: HALFWIDTH FORMS LIGHT VERTICAL. Its distinct columns, one per line. 7 B
003923 unicode/part1/U+FFE9 NormalizationTest.txt ←␊← Line 15148: HALFWIDTH LEFTWARDS ARROW. Its distinct columns, one per line. 7 B
003924 unicode/part1/U+FFEA NormalizationTest.txt ↑␊↑ Line 15149: HALFWIDTH UPWARDS ARROW. Its distinct columns, one per line. 7 B
003925 unicode/part1/U+FFEB NormalizationTest.txt →␊→ Line 15150: HALFWIDTH RIGHTWARDS ARROW. Its distinct columns, one per line. 7 B
003926 unicode/part1/U+FFEC NormalizationTest.txt ↓␊↓ Line 15151: HALFWIDTH DOWNWARDS ARROW. Its distinct columns, one per line. 7 B
003927 unicode/part1/U+FFED NormalizationTest.txt ■␊■ Line 15152: HALFWIDTH BLACK SQUARE. Its distinct columns, one per line. 7 B
003928 unicode/part1/U+FFEE NormalizationTest.txt ○␊○ Line 15153: HALFWIDTH WHITE CIRCLE. Its distinct columns, one per line. 7 B
003929 unicode/part1/U+105C9 NormalizationTest.txt 𐗉␊𐗉 Line 15154: TODHRI LETTER EI. Its distinct columns, one per line. 11 B
003930 unicode/part1/U+105E4 NormalizationTest.txt 𐗤␊𐗤 Line 15155: TODHRI LETTER U. Its distinct columns, one per line. 11 B
003931 unicode/part1/U+10781 NormalizationTest.txt 𐞁␊ː Line 15156: MODIFIER LETTER SUPERSCRIPT TRIANGULAR COLON. Its distinct columns, one per line. 7 B
003932 unicode/part1/U+10782 NormalizationTest.txt 𐞂␊ˑ Line 15157: MODIFIER LETTER SUPERSCRIPT HALF TRIANGULAR COLON. Its distinct columns, one per line. 7 B
003933 unicode/part1/U+10783 NormalizationTest.txt 𐞃␊æ Line 15158: MODIFIER LETTER SMALL AE. Its distinct columns, one per line. 7 B
003934 unicode/part1/U+10784 NormalizationTest.txt 𐞄␊ʙ Line 15159: MODIFIER LETTER SMALL CAPITAL B. Its distinct columns, one per line. 7 B
003935 unicode/part1/U+10785 NormalizationTest.txt 𐞅␊ɓ Line 15160: MODIFIER LETTER SMALL B WITH HOOK. Its distinct columns, one per line. 7 B
003936 unicode/part1/U+10787 NormalizationTest.txt 𐞇␊ʣ Line 15161: MODIFIER LETTER SMALL DZ DIGRAPH. Its distinct columns, one per line. 7 B
003937 unicode/part1/U+10788 NormalizationTest.txt 𐞈␊ꭦ Line 15162: MODIFIER LETTER SMALL DZ DIGRAPH WITH RETROFLEX HOOK. Its distinct columns, one per line. 8 B
003938 unicode/part1/U+10789 NormalizationTest.txt 𐞉␊ʥ Line 15163: MODIFIER LETTER SMALL DZ DIGRAPH WITH CURL. Its distinct columns, one per line. 7 B
003939 unicode/part1/U+1078A NormalizationTest.txt 𐞊␊ʤ Line 15164: MODIFIER LETTER SMALL DEZH DIGRAPH. Its distinct columns, one per line. 7 B
003940 unicode/part1/U+1078B NormalizationTest.txt 𐞋␊ɖ Line 15165: MODIFIER LETTER SMALL D WITH TAIL. Its distinct columns, one per line. 7 B
003941 unicode/part1/U+1078C NormalizationTest.txt 𐞌␊ɗ Line 15166: MODIFIER LETTER SMALL D WITH HOOK. Its distinct columns, one per line. 7 B
003942 unicode/part1/U+1078D NormalizationTest.txt 𐞍␊ᶑ Line 15167: MODIFIER LETTER SMALL D WITH HOOK AND TAIL. Its distinct columns, one per line. 8 B
003943 unicode/part1/U+1078E NormalizationTest.txt 𐞎␊ɘ Line 15168: MODIFIER LETTER SMALL REVERSED E. Its distinct columns, one per line. 7 B
003944 unicode/part1/U+1078F NormalizationTest.txt 𐞏␊ɞ Line 15169: MODIFIER LETTER SMALL CLOSED REVERSED OPEN E. 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.