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
002645 unicode/part1/U+F9FF NormalizationTest.txt 刺␊刺 Line 13870: CJK COMPATIBILITY IDEOGRAPH-F9FF. Its distinct columns, one per line. 7 B
002646 unicode/part1/U+FA00 NormalizationTest.txt 切␊切 Line 13871: CJK COMPATIBILITY IDEOGRAPH-FA00. Its distinct columns, one per line. 7 B
002647 unicode/part1/U+FA01 NormalizationTest.txt 度␊度 Line 13872: CJK COMPATIBILITY IDEOGRAPH-FA01. Its distinct columns, one per line. 7 B
002648 unicode/part1/U+FA02 NormalizationTest.txt 拓␊拓 Line 13873: CJK COMPATIBILITY IDEOGRAPH-FA02. Its distinct columns, one per line. 7 B
002649 unicode/part1/U+FA03 NormalizationTest.txt 糖␊糖 Line 13874: CJK COMPATIBILITY IDEOGRAPH-FA03. Its distinct columns, one per line. 7 B
002650 unicode/part1/U+FA04 NormalizationTest.txt 宅␊宅 Line 13875: CJK COMPATIBILITY IDEOGRAPH-FA04. Its distinct columns, one per line. 7 B
002651 unicode/part1/U+FA05 NormalizationTest.txt 洞␊洞 Line 13876: CJK COMPATIBILITY IDEOGRAPH-FA05. Its distinct columns, one per line. 7 B
002652 unicode/part1/U+FA06 NormalizationTest.txt 暴␊暴 Line 13877: CJK COMPATIBILITY IDEOGRAPH-FA06. Its distinct columns, one per line. 7 B
002653 unicode/part1/U+FA07 NormalizationTest.txt 輻␊輻 Line 13878: CJK COMPATIBILITY IDEOGRAPH-FA07. Its distinct columns, one per line. 7 B
002654 unicode/part1/U+FA08 NormalizationTest.txt 行␊行 Line 13879: CJK COMPATIBILITY IDEOGRAPH-FA08. Its distinct columns, one per line. 7 B
002655 unicode/part1/U+FA09 NormalizationTest.txt 降␊降 Line 13880: CJK COMPATIBILITY IDEOGRAPH-FA09. Its distinct columns, one per line. 7 B
002656 unicode/part1/U+FA0A NormalizationTest.txt 見␊見 Line 13881: CJK COMPATIBILITY IDEOGRAPH-FA0A. Its distinct columns, one per line. 7 B
002657 unicode/part1/U+FA0B NormalizationTest.txt 廓␊廓 Line 13882: CJK COMPATIBILITY IDEOGRAPH-FA0B. Its distinct columns, one per line. 7 B
002658 unicode/part1/U+FA0C NormalizationTest.txt 兀␊兀 Line 13883: CJK COMPATIBILITY IDEOGRAPH-FA0C. Its distinct columns, one per line. 7 B
002659 unicode/part1/U+FA0D NormalizationTest.txt 嗀␊嗀 Line 13884: CJK COMPATIBILITY IDEOGRAPH-FA0D. Its distinct columns, one per line. 7 B
002660 unicode/part1/U+FA10 NormalizationTest.txt 塚␊塚 Line 13885: CJK COMPATIBILITY IDEOGRAPH-FA10. Its distinct columns, one per line. 7 B
002661 unicode/part1/U+FA12 NormalizationTest.txt 晴␊晴 Line 13886: CJK COMPATIBILITY IDEOGRAPH-FA12. Its distinct columns, one per line. 7 B
002662 unicode/part1/U+FA15 NormalizationTest.txt 凞␊凞 Line 13887: CJK COMPATIBILITY IDEOGRAPH-FA15. Its distinct columns, one per line. 7 B
002663 unicode/part1/U+FA16 NormalizationTest.txt 猪␊猪 Line 13888: CJK COMPATIBILITY IDEOGRAPH-FA16. Its distinct columns, one per line. 7 B
002664 unicode/part1/U+FA17 NormalizationTest.txt 益␊益 Line 13889: CJK COMPATIBILITY IDEOGRAPH-FA17. Its distinct columns, one per line. 7 B
002665 unicode/part1/U+FA18 NormalizationTest.txt 礼␊礼 Line 13890: CJK COMPATIBILITY IDEOGRAPH-FA18. Its distinct columns, one per line. 7 B
002666 unicode/part1/U+FA19 NormalizationTest.txt 神␊神 Line 13891: CJK COMPATIBILITY IDEOGRAPH-FA19. Its distinct columns, one per line. 7 B
002667 unicode/part1/U+FA1A NormalizationTest.txt 祥␊祥 Line 13892: CJK COMPATIBILITY IDEOGRAPH-FA1A. Its distinct columns, one per line. 7 B
002668 unicode/part1/U+FA1B NormalizationTest.txt 福␊福 Line 13893: CJK COMPATIBILITY IDEOGRAPH-FA1B. Its distinct columns, one per line. 7 B
002669 unicode/part1/U+FA1C NormalizationTest.txt 靖␊靖 Line 13894: CJK COMPATIBILITY IDEOGRAPH-FA1C. Its distinct columns, one per line. 7 B
002670 unicode/part1/U+FA1D NormalizationTest.txt 精␊精 Line 13895: CJK COMPATIBILITY IDEOGRAPH-FA1D. Its distinct columns, one per line. 7 B
002671 unicode/part1/U+FA1E NormalizationTest.txt 羽␊羽 Line 13896: CJK COMPATIBILITY IDEOGRAPH-FA1E. Its distinct columns, one per line. 7 B
002672 unicode/part1/U+FA20 NormalizationTest.txt 蘒␊蘒 Line 13897: CJK COMPATIBILITY IDEOGRAPH-FA20. Its distinct columns, one per line. 7 B
002673 unicode/part1/U+FA22 NormalizationTest.txt 諸␊諸 Line 13898: CJK COMPATIBILITY IDEOGRAPH-FA22. Its distinct columns, one per line. 7 B
002674 unicode/part1/U+FA25 NormalizationTest.txt 逸␊逸 Line 13899: CJK COMPATIBILITY IDEOGRAPH-FA25. Its distinct columns, one per line. 7 B
002675 unicode/part1/U+FA26 NormalizationTest.txt 都␊都 Line 13900: CJK COMPATIBILITY IDEOGRAPH-FA26. Its distinct columns, one per line. 7 B
002676 unicode/part1/U+FA2A NormalizationTest.txt 飯␊飯 Line 13901: CJK COMPATIBILITY IDEOGRAPH-FA2A. Its distinct columns, one per line. 7 B
002677 unicode/part1/U+FA2B NormalizationTest.txt 飼␊飼 Line 13902: CJK COMPATIBILITY IDEOGRAPH-FA2B. Its distinct columns, one per line. 7 B
002678 unicode/part1/U+FA2C NormalizationTest.txt 館␊館 Line 13903: CJK COMPATIBILITY IDEOGRAPH-FA2C. Its distinct columns, one per line. 7 B
002679 unicode/part1/U+FA2D NormalizationTest.txt 鶴␊鶴 Line 13904: CJK COMPATIBILITY IDEOGRAPH-FA2D. Its distinct columns, one per line. 7 B
002680 unicode/part1/U+FA2E NormalizationTest.txt 郞␊郞 Line 13905: CJK COMPATIBILITY IDEOGRAPH-FA2E. Its distinct columns, one per line. 7 B
002681 unicode/part1/U+FA2F NormalizationTest.txt 隷␊隷 Line 13906: CJK COMPATIBILITY IDEOGRAPH-FA2F. Its distinct columns, one per line. 7 B
002682 unicode/part1/U+FA30 NormalizationTest.txt 侮␊侮 Line 13907: CJK COMPATIBILITY IDEOGRAPH-FA30. Its distinct columns, one per line. 7 B
002683 unicode/part1/U+FA31 NormalizationTest.txt 僧␊僧 Line 13908: CJK COMPATIBILITY IDEOGRAPH-FA31. Its distinct columns, one per line. 7 B
002684 unicode/part1/U+FA32 NormalizationTest.txt 免␊免 Line 13909: CJK COMPATIBILITY IDEOGRAPH-FA32. Its distinct columns, one per line. 7 B
002685 unicode/part1/U+FA33 NormalizationTest.txt 勉␊勉 Line 13910: CJK COMPATIBILITY IDEOGRAPH-FA33. Its distinct columns, one per line. 7 B
002686 unicode/part1/U+FA34 NormalizationTest.txt 勤␊勤 Line 13911: CJK COMPATIBILITY IDEOGRAPH-FA34. Its distinct columns, one per line. 7 B
002687 unicode/part1/U+FA35 NormalizationTest.txt 卑␊卑 Line 13912: CJK COMPATIBILITY IDEOGRAPH-FA35. Its distinct columns, one per line. 7 B
002688 unicode/part1/U+FA36 NormalizationTest.txt 喝␊喝 Line 13913: CJK COMPATIBILITY IDEOGRAPH-FA36. Its distinct columns, one per line. 7 B
002689 unicode/part1/U+FA37 NormalizationTest.txt 嘆␊嘆 Line 13914: CJK COMPATIBILITY IDEOGRAPH-FA37. Its distinct columns, one per line. 7 B
002690 unicode/part1/U+FA38 NormalizationTest.txt 器␊器 Line 13915: CJK COMPATIBILITY IDEOGRAPH-FA38. Its distinct columns, one per line. 7 B
002691 unicode/part1/U+FA39 NormalizationTest.txt 塀␊塀 Line 13916: CJK COMPATIBILITY IDEOGRAPH-FA39. Its distinct columns, one per line. 7 B
002692 unicode/part1/U+FA3A NormalizationTest.txt 墨␊墨 Line 13917: CJK COMPATIBILITY IDEOGRAPH-FA3A. Its distinct columns, one per line. 7 B
002693 unicode/part1/U+FA3B NormalizationTest.txt 層␊層 Line 13918: CJK COMPATIBILITY IDEOGRAPH-FA3B. Its distinct columns, one per line. 7 B
002694 unicode/part1/U+FA3C NormalizationTest.txt 屮␊屮 Line 13919: CJK COMPATIBILITY IDEOGRAPH-FA3C. 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.