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
002757 unicode/part1/U+FA7D NormalizationTest.txt 墳␊墳 Line 13982: CJK COMPATIBILITY IDEOGRAPH-FA7D. Its distinct columns, one per line. 7 B
002758 unicode/part1/U+FA7E NormalizationTest.txt 奄␊奄 Line 13983: CJK COMPATIBILITY IDEOGRAPH-FA7E. Its distinct columns, one per line. 7 B
002759 unicode/part1/U+FA7F NormalizationTest.txt 奔␊奔 Line 13984: CJK COMPATIBILITY IDEOGRAPH-FA7F. Its distinct columns, one per line. 7 B
002760 unicode/part1/U+FA80 NormalizationTest.txt 婢␊婢 Line 13985: CJK COMPATIBILITY IDEOGRAPH-FA80. Its distinct columns, one per line. 7 B
002761 unicode/part1/U+FA81 NormalizationTest.txt 嬨␊嬨 Line 13986: CJK COMPATIBILITY IDEOGRAPH-FA81. Its distinct columns, one per line. 7 B
002762 unicode/part1/U+FA82 NormalizationTest.txt 廒␊廒 Line 13987: CJK COMPATIBILITY IDEOGRAPH-FA82. Its distinct columns, one per line. 7 B
002763 unicode/part1/U+FA83 NormalizationTest.txt 廙␊廙 Line 13988: CJK COMPATIBILITY IDEOGRAPH-FA83. Its distinct columns, one per line. 7 B
002764 unicode/part1/U+FA84 NormalizationTest.txt 彩␊彩 Line 13989: CJK COMPATIBILITY IDEOGRAPH-FA84. Its distinct columns, one per line. 7 B
002765 unicode/part1/U+FA85 NormalizationTest.txt 徭␊徭 Line 13990: CJK COMPATIBILITY IDEOGRAPH-FA85. Its distinct columns, one per line. 7 B
002766 unicode/part1/U+FA86 NormalizationTest.txt 惘␊惘 Line 13991: CJK COMPATIBILITY IDEOGRAPH-FA86. Its distinct columns, one per line. 7 B
002767 unicode/part1/U+FA87 NormalizationTest.txt 慎␊慎 Line 13992: CJK COMPATIBILITY IDEOGRAPH-FA87. Its distinct columns, one per line. 7 B
002768 unicode/part1/U+FA88 NormalizationTest.txt 愈␊愈 Line 13993: CJK COMPATIBILITY IDEOGRAPH-FA88. Its distinct columns, one per line. 7 B
002769 unicode/part1/U+FA89 NormalizationTest.txt 憎␊憎 Line 13994: CJK COMPATIBILITY IDEOGRAPH-FA89. Its distinct columns, one per line. 7 B
002770 unicode/part1/U+FA8A NormalizationTest.txt 慠␊慠 Line 13995: CJK COMPATIBILITY IDEOGRAPH-FA8A. Its distinct columns, one per line. 7 B
002771 unicode/part1/U+FA8B NormalizationTest.txt 懲␊懲 Line 13996: CJK COMPATIBILITY IDEOGRAPH-FA8B. Its distinct columns, one per line. 7 B
002772 unicode/part1/U+FA8C NormalizationTest.txt 戴␊戴 Line 13997: CJK COMPATIBILITY IDEOGRAPH-FA8C. Its distinct columns, one per line. 7 B
002773 unicode/part1/U+FA8D NormalizationTest.txt 揄␊揄 Line 13998: CJK COMPATIBILITY IDEOGRAPH-FA8D. Its distinct columns, one per line. 7 B
002774 unicode/part1/U+FA8E NormalizationTest.txt 搜␊搜 Line 13999: CJK COMPATIBILITY IDEOGRAPH-FA8E. Its distinct columns, one per line. 7 B
002775 unicode/part1/U+FA8F NormalizationTest.txt 摒␊摒 Line 14000: CJK COMPATIBILITY IDEOGRAPH-FA8F. Its distinct columns, one per line. 7 B
002776 unicode/part1/U+FA90 NormalizationTest.txt 敖␊敖 Line 14001: CJK COMPATIBILITY IDEOGRAPH-FA90. Its distinct columns, one per line. 7 B
002777 unicode/part1/U+FA91 NormalizationTest.txt 晴␊晴 Line 14002: CJK COMPATIBILITY IDEOGRAPH-FA91. Its distinct columns, one per line. 7 B
002778 unicode/part1/U+FA92 NormalizationTest.txt 朗␊朗 Line 14003: CJK COMPATIBILITY IDEOGRAPH-FA92. Its distinct columns, one per line. 7 B
002779 unicode/part1/U+FA93 NormalizationTest.txt 望␊望 Line 14004: CJK COMPATIBILITY IDEOGRAPH-FA93. Its distinct columns, one per line. 7 B
002780 unicode/part1/U+FA94 NormalizationTest.txt 杖␊杖 Line 14005: CJK COMPATIBILITY IDEOGRAPH-FA94. Its distinct columns, one per line. 7 B
002781 unicode/part1/U+FA95 NormalizationTest.txt 歹␊歹 Line 14006: CJK COMPATIBILITY IDEOGRAPH-FA95. Its distinct columns, one per line. 7 B
002782 unicode/part1/U+FA96 NormalizationTest.txt 殺␊殺 Line 14007: CJK COMPATIBILITY IDEOGRAPH-FA96. Its distinct columns, one per line. 7 B
002783 unicode/part1/U+FA97 NormalizationTest.txt 流␊流 Line 14008: CJK COMPATIBILITY IDEOGRAPH-FA97. Its distinct columns, one per line. 7 B
002784 unicode/part1/U+FA98 NormalizationTest.txt 滛␊滛 Line 14009: CJK COMPATIBILITY IDEOGRAPH-FA98. Its distinct columns, one per line. 7 B
002785 unicode/part1/U+FA99 NormalizationTest.txt 滋␊滋 Line 14010: CJK COMPATIBILITY IDEOGRAPH-FA99. Its distinct columns, one per line. 7 B
002786 unicode/part1/U+FA9A NormalizationTest.txt 漢␊漢 Line 14011: CJK COMPATIBILITY IDEOGRAPH-FA9A. Its distinct columns, one per line. 7 B
002787 unicode/part1/U+FA9B NormalizationTest.txt 瀞␊瀞 Line 14012: CJK COMPATIBILITY IDEOGRAPH-FA9B. Its distinct columns, one per line. 7 B
002788 unicode/part1/U+FA9C NormalizationTest.txt 煮␊煮 Line 14013: CJK COMPATIBILITY IDEOGRAPH-FA9C. Its distinct columns, one per line. 7 B
002789 unicode/part1/U+FA9D NormalizationTest.txt 瞧␊瞧 Line 14014: CJK COMPATIBILITY IDEOGRAPH-FA9D. Its distinct columns, one per line. 7 B
002790 unicode/part1/U+FA9E NormalizationTest.txt 爵␊爵 Line 14015: CJK COMPATIBILITY IDEOGRAPH-FA9E. Its distinct columns, one per line. 7 B
002791 unicode/part1/U+FA9F NormalizationTest.txt 犯␊犯 Line 14016: CJK COMPATIBILITY IDEOGRAPH-FA9F. Its distinct columns, one per line. 7 B
002792 unicode/part1/U+FAA0 NormalizationTest.txt 猪␊猪 Line 14017: CJK COMPATIBILITY IDEOGRAPH-FAA0. Its distinct columns, one per line. 7 B
002793 unicode/part1/U+FAA1 NormalizationTest.txt 瑱␊瑱 Line 14018: CJK COMPATIBILITY IDEOGRAPH-FAA1. Its distinct columns, one per line. 7 B
002794 unicode/part1/U+FAA2 NormalizationTest.txt 甆␊甆 Line 14019: CJK COMPATIBILITY IDEOGRAPH-FAA2. Its distinct columns, one per line. 7 B
002795 unicode/part1/U+FAA3 NormalizationTest.txt 画␊画 Line 14020: CJK COMPATIBILITY IDEOGRAPH-FAA3. Its distinct columns, one per line. 7 B
002796 unicode/part1/U+FAA4 NormalizationTest.txt 瘝␊瘝 Line 14021: CJK COMPATIBILITY IDEOGRAPH-FAA4. Its distinct columns, one per line. 7 B
002797 unicode/part1/U+FAA5 NormalizationTest.txt 瘟␊瘟 Line 14022: CJK COMPATIBILITY IDEOGRAPH-FAA5. Its distinct columns, one per line. 7 B
002798 unicode/part1/U+FAA6 NormalizationTest.txt 益␊益 Line 14023: CJK COMPATIBILITY IDEOGRAPH-FAA6. Its distinct columns, one per line. 7 B
002799 unicode/part1/U+FAA7 NormalizationTest.txt 盛␊盛 Line 14024: CJK COMPATIBILITY IDEOGRAPH-FAA7. Its distinct columns, one per line. 7 B
002800 unicode/part1/U+FAA8 NormalizationTest.txt 直␊直 Line 14025: CJK COMPATIBILITY IDEOGRAPH-FAA8. Its distinct columns, one per line. 7 B
002801 unicode/part1/U+FAA9 NormalizationTest.txt 睊␊睊 Line 14026: CJK COMPATIBILITY IDEOGRAPH-FAA9. Its distinct columns, one per line. 7 B
002802 unicode/part1/U+FAAA NormalizationTest.txt 着␊着 Line 14027: CJK COMPATIBILITY IDEOGRAPH-FAAA. Its distinct columns, one per line. 7 B
002803 unicode/part1/U+FAAB NormalizationTest.txt 磌␊磌 Line 14028: CJK COMPATIBILITY IDEOGRAPH-FAAB. Its distinct columns, one per line. 7 B
002804 unicode/part1/U+FAAC NormalizationTest.txt 窱␊窱 Line 14029: CJK COMPATIBILITY IDEOGRAPH-FAAC. Its distinct columns, one per line. 7 B
002805 unicode/part1/U+FAAD NormalizationTest.txt 節␊節 Line 14030: CJK COMPATIBILITY IDEOGRAPH-FAAD. Its distinct columns, one per line. 7 B
002806 unicode/part1/U+FAAE NormalizationTest.txt 类␊类 Line 14031: CJK COMPATIBILITY IDEOGRAPH-FAAE. 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.