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
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
005769 unicode/part1/U+2F965 NormalizationTest.txt 𥲀␊𥲀 Line 16994: CJK COMPATIBILITY IDEOGRAPH-2F965. Its distinct columns, one per line. 9 B
005770 unicode/part1/U+2F966 NormalizationTest.txt 糒␊糒 Line 16995: CJK COMPATIBILITY IDEOGRAPH-2F966. Its distinct columns, one per line. 8 B
005771 unicode/part1/U+2F967 NormalizationTest.txt 䊠␊䊠 Line 16996: CJK COMPATIBILITY IDEOGRAPH-2F967. Its distinct columns, one per line. 8 B
005772 unicode/part1/U+2F968 NormalizationTest.txt 糨␊糨 Line 16997: CJK COMPATIBILITY IDEOGRAPH-2F968. Its distinct columns, one per line. 8 B
005773 unicode/part1/U+2F969 NormalizationTest.txt 糣␊糣 Line 16998: CJK COMPATIBILITY IDEOGRAPH-2F969. Its distinct columns, one per line. 8 B
005774 unicode/part1/U+2F96A NormalizationTest.txt 紀␊紀 Line 16999: CJK COMPATIBILITY IDEOGRAPH-2F96A. Its distinct columns, one per line. 8 B
005775 unicode/part1/U+2F96B NormalizationTest.txt 𥾆␊𥾆 Line 17000: CJK COMPATIBILITY IDEOGRAPH-2F96B. Its distinct columns, one per line. 9 B
005776 unicode/part1/U+2F96C NormalizationTest.txt 絣␊絣 Line 17001: CJK COMPATIBILITY IDEOGRAPH-2F96C. Its distinct columns, one per line. 8 B
005777 unicode/part1/U+2F96D NormalizationTest.txt 䌁␊䌁 Line 17002: CJK COMPATIBILITY IDEOGRAPH-2F96D. Its distinct columns, one per line. 8 B
005778 unicode/part1/U+2F96E NormalizationTest.txt 緇␊緇 Line 17003: CJK COMPATIBILITY IDEOGRAPH-2F96E. Its distinct columns, one per line. 8 B
005779 unicode/part1/U+2F96F NormalizationTest.txt 縂␊縂 Line 17004: CJK COMPATIBILITY IDEOGRAPH-2F96F. Its distinct columns, one per line. 8 B
005780 unicode/part1/U+2F970 NormalizationTest.txt 繅␊繅 Line 17005: CJK COMPATIBILITY IDEOGRAPH-2F970. Its distinct columns, one per line. 8 B
005781 unicode/part1/U+2F971 NormalizationTest.txt 䌴␊䌴 Line 17006: CJK COMPATIBILITY IDEOGRAPH-2F971. Its distinct columns, one per line. 8 B
005782 unicode/part1/U+2F972 NormalizationTest.txt 𦈨␊𦈨 Line 17007: CJK COMPATIBILITY IDEOGRAPH-2F972. Its distinct columns, one per line. 9 B
005783 unicode/part1/U+2F973 NormalizationTest.txt 𦉇␊𦉇 Line 17008: CJK COMPATIBILITY IDEOGRAPH-2F973. Its distinct columns, one per line. 9 B
005784 unicode/part1/U+2F974 NormalizationTest.txt 䍙␊䍙 Line 17009: CJK COMPATIBILITY IDEOGRAPH-2F974. Its distinct columns, one per line. 8 B
005785 unicode/part1/U+2F975 NormalizationTest.txt 𦋙␊𦋙 Line 17010: CJK COMPATIBILITY IDEOGRAPH-2F975. Its distinct columns, one per line. 9 B
005786 unicode/part1/U+2F976 NormalizationTest.txt 罺␊罺 Line 17011: CJK COMPATIBILITY IDEOGRAPH-2F976. Its distinct columns, one per line. 8 B
005787 unicode/part1/U+2F977 NormalizationTest.txt 𦌾␊𦌾 Line 17012: CJK COMPATIBILITY IDEOGRAPH-2F977. Its distinct columns, one per line. 9 B
005788 unicode/part1/U+2F978 NormalizationTest.txt 羕␊羕 Line 17013: CJK COMPATIBILITY IDEOGRAPH-2F978. Its distinct columns, one per line. 8 B
005789 unicode/part1/U+2F979 NormalizationTest.txt 翺␊翺 Line 17014: CJK COMPATIBILITY IDEOGRAPH-2F979. Its distinct columns, one per line. 8 B
005790 unicode/part1/U+2F97A NormalizationTest.txt 者␊者 Line 17015: CJK COMPATIBILITY IDEOGRAPH-2F97A. Its distinct columns, one per line. 8 B
005791 unicode/part1/U+2F97B NormalizationTest.txt 𦓚␊𦓚 Line 17016: CJK COMPATIBILITY IDEOGRAPH-2F97B. Its distinct columns, one per line. 9 B
005792 unicode/part1/U+2F97C NormalizationTest.txt 𦔣␊𦔣 Line 17017: CJK COMPATIBILITY IDEOGRAPH-2F97C. Its distinct columns, one per line. 9 B
005793 unicode/part1/U+2F97D NormalizationTest.txt 聠␊聠 Line 17018: CJK COMPATIBILITY IDEOGRAPH-2F97D. Its distinct columns, one per line. 8 B
005794 unicode/part1/U+2F97E NormalizationTest.txt 𦖨␊𦖨 Line 17019: CJK COMPATIBILITY IDEOGRAPH-2F97E. Its distinct columns, one per line. 9 B
005795 unicode/part1/U+2F97F NormalizationTest.txt 聰␊聰 Line 17020: CJK COMPATIBILITY IDEOGRAPH-2F97F. Its distinct columns, one per line. 8 B
005796 unicode/part1/U+2F980 NormalizationTest.txt 𣍟␊𣍟 Line 17021: CJK COMPATIBILITY IDEOGRAPH-2F980. Its distinct columns, one per line. 9 B
005797 unicode/part1/U+2F981 NormalizationTest.txt 䏕␊䏕 Line 17022: CJK COMPATIBILITY IDEOGRAPH-2F981. Its distinct columns, one per line. 8 B
005798 unicode/part1/U+2F982 NormalizationTest.txt 育␊育 Line 17023: CJK COMPATIBILITY IDEOGRAPH-2F982. Its distinct columns, one per line. 8 B
005799 unicode/part1/U+2F983 NormalizationTest.txt 脃␊脃 Line 17024: CJK COMPATIBILITY IDEOGRAPH-2F983. 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.