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

1,049 of 11,911 cases

Case Name Expected Note Size
005719 unicode/part1/U+2F933 NormalizationTest.txt 㼛␊㼛 Line 16944: CJK COMPATIBILITY IDEOGRAPH-2F933. Its distinct columns, one per line. 8 B
005720 unicode/part1/U+2F934 NormalizationTest.txt 甤␊甤 Line 16945: CJK COMPATIBILITY IDEOGRAPH-2F934. Its distinct columns, one per line. 8 B
005721 unicode/part1/U+2F935 NormalizationTest.txt 𤰶␊𤰶 Line 16946: CJK COMPATIBILITY IDEOGRAPH-2F935. Its distinct columns, one per line. 9 B
005722 unicode/part1/U+2F936 NormalizationTest.txt 甾␊甾 Line 16947: CJK COMPATIBILITY IDEOGRAPH-2F936. Its distinct columns, one per line. 8 B
005723 unicode/part1/U+2F937 NormalizationTest.txt 𤲒␊𤲒 Line 16948: CJK COMPATIBILITY IDEOGRAPH-2F937. Its distinct columns, one per line. 9 B
005724 unicode/part1/U+2F938 NormalizationTest.txt 異␊異 Line 16949: CJK COMPATIBILITY IDEOGRAPH-2F938. Its distinct columns, one per line. 8 B
005725 unicode/part1/U+2F939 NormalizationTest.txt 𢆟␊𢆟 Line 16950: CJK COMPATIBILITY IDEOGRAPH-2F939. Its distinct columns, one per line. 9 B
005726 unicode/part1/U+2F93A NormalizationTest.txt 瘐␊瘐 Line 16951: CJK COMPATIBILITY IDEOGRAPH-2F93A. Its distinct columns, one per line. 8 B
005727 unicode/part1/U+2F93B NormalizationTest.txt 𤾡␊𤾡 Line 16952: CJK COMPATIBILITY IDEOGRAPH-2F93B. Its distinct columns, one per line. 9 B
005728 unicode/part1/U+2F93C NormalizationTest.txt 𤾸␊𤾸 Line 16953: CJK COMPATIBILITY IDEOGRAPH-2F93C. Its distinct columns, one per line. 9 B
005729 unicode/part1/U+2F93D NormalizationTest.txt 𥁄␊𥁄 Line 16954: CJK COMPATIBILITY IDEOGRAPH-2F93D. Its distinct columns, one per line. 9 B
005730 unicode/part1/U+2F93E NormalizationTest.txt 㿼␊㿼 Line 16955: CJK COMPATIBILITY IDEOGRAPH-2F93E. Its distinct columns, one per line. 8 B
005731 unicode/part1/U+2F93F NormalizationTest.txt 䀈␊䀈 Line 16956: CJK COMPATIBILITY IDEOGRAPH-2F93F. Its distinct columns, one per line. 8 B
005732 unicode/part1/U+2F940 NormalizationTest.txt 直␊直 Line 16957: CJK COMPATIBILITY IDEOGRAPH-2F940. Its distinct columns, one per line. 8 B
005733 unicode/part1/U+2F941 NormalizationTest.txt 𥃳␊𥃳 Line 16958: CJK COMPATIBILITY IDEOGRAPH-2F941. Its distinct columns, one per line. 9 B
005734 unicode/part1/U+2F942 NormalizationTest.txt 𥃲␊𥃲 Line 16959: CJK COMPATIBILITY IDEOGRAPH-2F942. Its distinct columns, one per line. 9 B
005735 unicode/part1/U+2F943 NormalizationTest.txt 𥄙␊𥄙 Line 16960: CJK COMPATIBILITY IDEOGRAPH-2F943. Its distinct columns, one per line. 9 B
005736 unicode/part1/U+2F944 NormalizationTest.txt 𥄳␊𥄳 Line 16961: CJK COMPATIBILITY IDEOGRAPH-2F944. Its distinct columns, one per line. 9 B
005737 unicode/part1/U+2F945 NormalizationTest.txt 眞␊眞 Line 16962: CJK COMPATIBILITY IDEOGRAPH-2F945. Its distinct columns, one per line. 8 B
005738 unicode/part1/U+2F946 NormalizationTest.txt 真␊真 Line 16963: CJK COMPATIBILITY IDEOGRAPH-2F946. Its distinct columns, one per line. 8 B
005739 unicode/part1/U+2F947 NormalizationTest.txt 真␊真 Line 16964: CJK COMPATIBILITY IDEOGRAPH-2F947. Its distinct columns, one per line. 8 B
005740 unicode/part1/U+2F948 NormalizationTest.txt 睊␊睊 Line 16965: CJK COMPATIBILITY IDEOGRAPH-2F948. Its distinct columns, one per line. 8 B
005741 unicode/part1/U+2F949 NormalizationTest.txt 䀹␊䀹 Line 16966: CJK COMPATIBILITY IDEOGRAPH-2F949. Its distinct columns, one per line. 8 B
005742 unicode/part1/U+2F94A NormalizationTest.txt 瞋␊瞋 Line 16967: CJK COMPATIBILITY IDEOGRAPH-2F94A. Its distinct columns, one per line. 8 B
005743 unicode/part1/U+2F94B NormalizationTest.txt 䁆␊䁆 Line 16968: CJK COMPATIBILITY IDEOGRAPH-2F94B. Its distinct columns, one per line. 8 B
005744 unicode/part1/U+2F94C NormalizationTest.txt 䂖␊䂖 Line 16969: CJK COMPATIBILITY IDEOGRAPH-2F94C. Its distinct columns, one per line. 8 B
005745 unicode/part1/U+2F94D NormalizationTest.txt 𥐝␊𥐝 Line 16970: CJK COMPATIBILITY IDEOGRAPH-2F94D. Its distinct columns, one per line. 9 B
005746 unicode/part1/U+2F94E NormalizationTest.txt 硎␊硎 Line 16971: CJK COMPATIBILITY IDEOGRAPH-2F94E. Its distinct columns, one per line. 8 B
005747 unicode/part1/U+2F94F NormalizationTest.txt 碌␊碌 Line 16972: CJK COMPATIBILITY IDEOGRAPH-2F94F. Its distinct columns, one per line. 8 B
005748 unicode/part1/U+2F950 NormalizationTest.txt 磌␊磌 Line 16973: CJK COMPATIBILITY IDEOGRAPH-2F950. Its distinct columns, one per line. 8 B
005749 unicode/part1/U+2F951 NormalizationTest.txt 䃣␊䃣 Line 16974: CJK COMPATIBILITY IDEOGRAPH-2F951. Its distinct columns, one per line. 8 B
005750 unicode/part1/U+2F952 NormalizationTest.txt 𥘦␊𥘦 Line 16975: CJK COMPATIBILITY IDEOGRAPH-2F952. Its distinct columns, one per line. 9 B
005751 unicode/part1/U+2F953 NormalizationTest.txt 祖␊祖 Line 16976: CJK COMPATIBILITY IDEOGRAPH-2F953. Its distinct columns, one per line. 8 B
005752 unicode/part1/U+2F954 NormalizationTest.txt 𥚚␊𥚚 Line 16977: CJK COMPATIBILITY IDEOGRAPH-2F954. Its distinct columns, one per line. 9 B
005753 unicode/part1/U+2F955 NormalizationTest.txt 𥛅␊𥛅 Line 16978: CJK COMPATIBILITY IDEOGRAPH-2F955. Its distinct columns, one per line. 9 B
005754 unicode/part1/U+2F956 NormalizationTest.txt 福␊福 Line 16979: CJK COMPATIBILITY IDEOGRAPH-2F956. Its distinct columns, one per line. 8 B
005755 unicode/part1/U+2F957 NormalizationTest.txt 秫␊秫 Line 16980: CJK COMPATIBILITY IDEOGRAPH-2F957. Its distinct columns, one per line. 8 B
005756 unicode/part1/U+2F958 NormalizationTest.txt 䄯␊䄯 Line 16981: CJK COMPATIBILITY IDEOGRAPH-2F958. Its distinct columns, one per line. 8 B
005757 unicode/part1/U+2F959 NormalizationTest.txt 穀␊穀 Line 16982: CJK COMPATIBILITY IDEOGRAPH-2F959. Its distinct columns, one per line. 8 B
005758 unicode/part1/U+2F95A NormalizationTest.txt 穊␊穊 Line 16983: CJK COMPATIBILITY IDEOGRAPH-2F95A. Its distinct columns, one per line. 8 B
005759 unicode/part1/U+2F95B NormalizationTest.txt 穏␊穏 Line 16984: CJK COMPATIBILITY IDEOGRAPH-2F95B. Its distinct columns, one per line. 8 B
005760 unicode/part1/U+2F95C NormalizationTest.txt 𥥼␊𥥼 Line 16985: CJK COMPATIBILITY IDEOGRAPH-2F95C. Its distinct columns, one per line. 9 B
005761 unicode/part1/U+2F95D NormalizationTest.txt 𥪧␊𥪧 Line 16986: CJK COMPATIBILITY IDEOGRAPH-2F95D. Its distinct columns, one per line. 9 B
005762 unicode/part1/U+2F95E NormalizationTest.txt 𥪧␊𥪧 Line 16987: CJK COMPATIBILITY IDEOGRAPH-2F95E. Its distinct columns, one per line. 9 B
005763 unicode/part1/U+2F95F NormalizationTest.txt 竮␊竮 Line 16988: CJK COMPATIBILITY IDEOGRAPH-2F95F. Its distinct columns, one per line. 8 B
005764 unicode/part1/U+2F960 NormalizationTest.txt 䈂␊䈂 Line 16989: CJK COMPATIBILITY IDEOGRAPH-2F960. Its distinct columns, one per line. 8 B
005765 unicode/part1/U+2F961 NormalizationTest.txt 𥮫␊𥮫 Line 16990: CJK COMPATIBILITY IDEOGRAPH-2F961. Its distinct columns, one per line. 9 B
005766 unicode/part1/U+2F962 NormalizationTest.txt 篆␊篆 Line 16991: CJK COMPATIBILITY IDEOGRAPH-2F962. Its distinct columns, one per line. 8 B
005767 unicode/part1/U+2F963 NormalizationTest.txt 築␊築 Line 16992: CJK COMPATIBILITY IDEOGRAPH-2F963. Its distinct columns, one per line. 8 B
005768 unicode/part1/U+2F964 NormalizationTest.txt 䈧␊䈧 Line 16993: CJK COMPATIBILITY IDEOGRAPH-2F964. 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.