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
005850 unicode/part1/U+2F9B6 NormalizationTest.txt 虩␊虩 Line 17075: CJK COMPATIBILITY IDEOGRAPH-2F9B6. Its distinct columns, one per line. 8 B
005851 unicode/part1/U+2F9B7 NormalizationTest.txt 蚩␊蚩 Line 17076: CJK COMPATIBILITY IDEOGRAPH-2F9B7. Its distinct columns, one per line. 8 B
005852 unicode/part1/U+2F9B8 NormalizationTest.txt 蚈␊蚈 Line 17077: CJK COMPATIBILITY IDEOGRAPH-2F9B8. Its distinct columns, one per line. 8 B
005853 unicode/part1/U+2F9B9 NormalizationTest.txt 蜎␊蜎 Line 17078: CJK COMPATIBILITY IDEOGRAPH-2F9B9. Its distinct columns, one per line. 8 B
005854 unicode/part1/U+2F9BA NormalizationTest.txt 蛢␊蛢 Line 17079: CJK COMPATIBILITY IDEOGRAPH-2F9BA. Its distinct columns, one per line. 8 B
005855 unicode/part1/U+2F9BB NormalizationTest.txt 蝹␊蝹 Line 17080: CJK COMPATIBILITY IDEOGRAPH-2F9BB. Its distinct columns, one per line. 8 B
005856 unicode/part1/U+2F9BC NormalizationTest.txt 蜨␊蜨 Line 17081: CJK COMPATIBILITY IDEOGRAPH-2F9BC. Its distinct columns, one per line. 8 B
005857 unicode/part1/U+2F9BD NormalizationTest.txt 蝫␊蝫 Line 17082: CJK COMPATIBILITY IDEOGRAPH-2F9BD. Its distinct columns, one per line. 8 B
005858 unicode/part1/U+2F9BE NormalizationTest.txt 螆␊螆 Line 17083: CJK COMPATIBILITY IDEOGRAPH-2F9BE. Its distinct columns, one per line. 8 B
005859 unicode/part1/U+2F9BF NormalizationTest.txt 䗗␊䗗 Line 17084: CJK COMPATIBILITY IDEOGRAPH-2F9BF. Its distinct columns, one per line. 8 B
005860 unicode/part1/U+2F9C0 NormalizationTest.txt 蟡␊蟡 Line 17085: CJK COMPATIBILITY IDEOGRAPH-2F9C0. Its distinct columns, one per line. 8 B
005861 unicode/part1/U+2F9C1 NormalizationTest.txt 蠁␊蠁 Line 17086: CJK COMPATIBILITY IDEOGRAPH-2F9C1. Its distinct columns, one per line. 8 B
005862 unicode/part1/U+2F9C2 NormalizationTest.txt 䗹␊䗹 Line 17087: CJK COMPATIBILITY IDEOGRAPH-2F9C2. Its distinct columns, one per line. 8 B
005863 unicode/part1/U+2F9C3 NormalizationTest.txt 衠␊衠 Line 17088: CJK COMPATIBILITY IDEOGRAPH-2F9C3. Its distinct columns, one per line. 8 B
005864 unicode/part1/U+2F9C4 NormalizationTest.txt 衣␊衣 Line 17089: CJK COMPATIBILITY IDEOGRAPH-2F9C4. Its distinct columns, one per line. 8 B
005865 unicode/part1/U+2F9C5 NormalizationTest.txt 𧙧␊𧙧 Line 17090: CJK COMPATIBILITY IDEOGRAPH-2F9C5. Its distinct columns, one per line. 9 B
005866 unicode/part1/U+2F9C6 NormalizationTest.txt 裗␊裗 Line 17091: CJK COMPATIBILITY IDEOGRAPH-2F9C6. Its distinct columns, one per line. 8 B
005867 unicode/part1/U+2F9C7 NormalizationTest.txt 裞␊裞 Line 17092: CJK COMPATIBILITY IDEOGRAPH-2F9C7. Its distinct columns, one per line. 8 B
005868 unicode/part1/U+2F9C8 NormalizationTest.txt 䘵␊䘵 Line 17093: CJK COMPATIBILITY IDEOGRAPH-2F9C8. Its distinct columns, one per line. 8 B
005869 unicode/part1/U+2F9C9 NormalizationTest.txt 裺␊裺 Line 17094: CJK COMPATIBILITY IDEOGRAPH-2F9C9. Its distinct columns, one per line. 8 B
005870 unicode/part1/U+2F9CA NormalizationTest.txt 㒻␊㒻 Line 17095: CJK COMPATIBILITY IDEOGRAPH-2F9CA. Its distinct columns, one per line. 8 B
005871 unicode/part1/U+2F9CB NormalizationTest.txt 𧢮␊𧢮 Line 17096: CJK COMPATIBILITY IDEOGRAPH-2F9CB. Its distinct columns, one per line. 9 B
005872 unicode/part1/U+2F9CC NormalizationTest.txt 𧥦␊𧥦 Line 17097: CJK COMPATIBILITY IDEOGRAPH-2F9CC. Its distinct columns, one per line. 9 B
005873 unicode/part1/U+2F9CD NormalizationTest.txt 䚾␊䚾 Line 17098: CJK COMPATIBILITY IDEOGRAPH-2F9CD. Its distinct columns, one per line. 8 B
005874 unicode/part1/U+2F9CE NormalizationTest.txt 䛇␊䛇 Line 17099: CJK COMPATIBILITY IDEOGRAPH-2F9CE. Its distinct columns, one per line. 8 B
005875 unicode/part1/U+2F9CF NormalizationTest.txt 誠␊誠 Line 17100: CJK COMPATIBILITY IDEOGRAPH-2F9CF. Its distinct columns, one per line. 8 B
005876 unicode/part1/U+2F9D0 NormalizationTest.txt 諭␊諭 Line 17101: CJK COMPATIBILITY IDEOGRAPH-2F9D0. Its distinct columns, one per line. 8 B
005877 unicode/part1/U+2F9D1 NormalizationTest.txt 變␊變 Line 17102: CJK COMPATIBILITY IDEOGRAPH-2F9D1. Its distinct columns, one per line. 8 B
005878 unicode/part1/U+2F9D2 NormalizationTest.txt 豕␊豕 Line 17103: CJK COMPATIBILITY IDEOGRAPH-2F9D2. Its distinct columns, one per line. 8 B
005879 unicode/part1/U+2F9D3 NormalizationTest.txt 𧲨␊𧲨 Line 17104: CJK COMPATIBILITY IDEOGRAPH-2F9D3. Its distinct columns, one per line. 9 B
005880 unicode/part1/U+2F9D4 NormalizationTest.txt 貫␊貫 Line 17105: CJK COMPATIBILITY IDEOGRAPH-2F9D4. Its distinct columns, one per line. 8 B
005881 unicode/part1/U+2F9D5 NormalizationTest.txt 賁␊賁 Line 17106: CJK COMPATIBILITY IDEOGRAPH-2F9D5. Its distinct columns, one per line. 8 B
005882 unicode/part1/U+2F9D6 NormalizationTest.txt 贛␊贛 Line 17107: CJK COMPATIBILITY IDEOGRAPH-2F9D6. Its distinct columns, one per line. 8 B
005883 unicode/part1/U+2F9D7 NormalizationTest.txt 起␊起 Line 17108: CJK COMPATIBILITY IDEOGRAPH-2F9D7. Its distinct columns, one per line. 8 B
005884 unicode/part1/U+2F9D8 NormalizationTest.txt 𧼯␊𧼯 Line 17109: CJK COMPATIBILITY IDEOGRAPH-2F9D8. Its distinct columns, one per line. 9 B
005885 unicode/part1/U+2F9D9 NormalizationTest.txt 𠠄␊𠠄 Line 17110: CJK COMPATIBILITY IDEOGRAPH-2F9D9. Its distinct columns, one per line. 9 B
005886 unicode/part1/U+2F9DA NormalizationTest.txt 跋␊跋 Line 17111: CJK COMPATIBILITY IDEOGRAPH-2F9DA. Its distinct columns, one per line. 8 B
005887 unicode/part1/U+2F9DB NormalizationTest.txt 趼␊趼 Line 17112: CJK COMPATIBILITY IDEOGRAPH-2F9DB. Its distinct columns, one per line. 8 B
005888 unicode/part1/U+2F9DC NormalizationTest.txt 跰␊跰 Line 17113: CJK COMPATIBILITY IDEOGRAPH-2F9DC. Its distinct columns, one per line. 8 B
005889 unicode/part1/U+2F9DD NormalizationTest.txt 𠣞␊𠣞 Line 17114: CJK COMPATIBILITY IDEOGRAPH-2F9DD. Its distinct columns, one per line. 9 B
005890 unicode/part1/U+2F9DE NormalizationTest.txt 軔␊軔 Line 17115: CJK COMPATIBILITY IDEOGRAPH-2F9DE. Its distinct columns, one per line. 8 B
005891 unicode/part1/U+2F9DF NormalizationTest.txt 輸␊輸 Line 17116: CJK COMPATIBILITY IDEOGRAPH-2F9DF. Its distinct columns, one per line. 8 B
005892 unicode/part1/U+2F9E0 NormalizationTest.txt 𨗒␊𨗒 Line 17117: CJK COMPATIBILITY IDEOGRAPH-2F9E0. Its distinct columns, one per line. 9 B
005893 unicode/part1/U+2F9E1 NormalizationTest.txt 𨗭␊𨗭 Line 17118: CJK COMPATIBILITY IDEOGRAPH-2F9E1. Its distinct columns, one per line. 9 B
005894 unicode/part1/U+2F9E2 NormalizationTest.txt 邔␊邔 Line 17119: CJK COMPATIBILITY IDEOGRAPH-2F9E2. Its distinct columns, one per line. 8 B
005895 unicode/part1/U+2F9E3 NormalizationTest.txt 郱␊郱 Line 17120: CJK COMPATIBILITY IDEOGRAPH-2F9E3. Its distinct columns, one per line. 8 B
005896 unicode/part1/U+2F9E4 NormalizationTest.txt 鄑␊鄑 Line 17121: CJK COMPATIBILITY IDEOGRAPH-2F9E4. Its distinct columns, one per line. 8 B
005897 unicode/part1/U+2F9E5 NormalizationTest.txt 𨜮␊𨜮 Line 17122: CJK COMPATIBILITY IDEOGRAPH-2F9E5. Its distinct columns, one per line. 9 B
005898 unicode/part1/U+2F9E6 NormalizationTest.txt 鄛␊鄛 Line 17123: CJK COMPATIBILITY IDEOGRAPH-2F9E6. Its distinct columns, one per line. 8 B
005899 unicode/part1/U+2F9E7 NormalizationTest.txt 鈸␊鈸 Line 17124: CJK COMPATIBILITY IDEOGRAPH-2F9E7. Its distinct columns, one per line. 8 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.