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
002407 unicode/part1/U+F911 NormalizationTest.txt 螺␊螺 Line 13632: CJK COMPATIBILITY IDEOGRAPH-F911. Its distinct columns, one per line. 7 B
002408 unicode/part1/U+F912 NormalizationTest.txt 裸␊裸 Line 13633: CJK COMPATIBILITY IDEOGRAPH-F912. Its distinct columns, one per line. 7 B
002409 unicode/part1/U+F913 NormalizationTest.txt 邏␊邏 Line 13634: CJK COMPATIBILITY IDEOGRAPH-F913. Its distinct columns, one per line. 7 B
002410 unicode/part1/U+F914 NormalizationTest.txt 樂␊樂 Line 13635: CJK COMPATIBILITY IDEOGRAPH-F914. Its distinct columns, one per line. 7 B
002411 unicode/part1/U+F915 NormalizationTest.txt 洛␊洛 Line 13636: CJK COMPATIBILITY IDEOGRAPH-F915. Its distinct columns, one per line. 7 B
002412 unicode/part1/U+F916 NormalizationTest.txt 烙␊烙 Line 13637: CJK COMPATIBILITY IDEOGRAPH-F916. Its distinct columns, one per line. 7 B
002413 unicode/part1/U+F917 NormalizationTest.txt 珞␊珞 Line 13638: CJK COMPATIBILITY IDEOGRAPH-F917. Its distinct columns, one per line. 7 B
002414 unicode/part1/U+F918 NormalizationTest.txt 落␊落 Line 13639: CJK COMPATIBILITY IDEOGRAPH-F918. Its distinct columns, one per line. 7 B
002415 unicode/part1/U+F919 NormalizationTest.txt 酪␊酪 Line 13640: CJK COMPATIBILITY IDEOGRAPH-F919. Its distinct columns, one per line. 7 B
002416 unicode/part1/U+F91A NormalizationTest.txt 駱␊駱 Line 13641: CJK COMPATIBILITY IDEOGRAPH-F91A. Its distinct columns, one per line. 7 B
002417 unicode/part1/U+F91B NormalizationTest.txt 亂␊亂 Line 13642: CJK COMPATIBILITY IDEOGRAPH-F91B. Its distinct columns, one per line. 7 B
002418 unicode/part1/U+F91C NormalizationTest.txt 卵␊卵 Line 13643: CJK COMPATIBILITY IDEOGRAPH-F91C. Its distinct columns, one per line. 7 B
002419 unicode/part1/U+F91D NormalizationTest.txt 欄␊欄 Line 13644: CJK COMPATIBILITY IDEOGRAPH-F91D. Its distinct columns, one per line. 7 B
002420 unicode/part1/U+F91E NormalizationTest.txt 爛␊爛 Line 13645: CJK COMPATIBILITY IDEOGRAPH-F91E. Its distinct columns, one per line. 7 B
002421 unicode/part1/U+F91F NormalizationTest.txt 蘭␊蘭 Line 13646: CJK COMPATIBILITY IDEOGRAPH-F91F. Its distinct columns, one per line. 7 B
002422 unicode/part1/U+F920 NormalizationTest.txt 鸞␊鸞 Line 13647: CJK COMPATIBILITY IDEOGRAPH-F920. Its distinct columns, one per line. 7 B
002423 unicode/part1/U+F921 NormalizationTest.txt 嵐␊嵐 Line 13648: CJK COMPATIBILITY IDEOGRAPH-F921. Its distinct columns, one per line. 7 B
002424 unicode/part1/U+F922 NormalizationTest.txt 濫␊濫 Line 13649: CJK COMPATIBILITY IDEOGRAPH-F922. Its distinct columns, one per line. 7 B
002425 unicode/part1/U+F923 NormalizationTest.txt 藍␊藍 Line 13650: CJK COMPATIBILITY IDEOGRAPH-F923. Its distinct columns, one per line. 7 B
002426 unicode/part1/U+F924 NormalizationTest.txt 襤␊襤 Line 13651: CJK COMPATIBILITY IDEOGRAPH-F924. Its distinct columns, one per line. 7 B
002427 unicode/part1/U+F925 NormalizationTest.txt 拉␊拉 Line 13652: CJK COMPATIBILITY IDEOGRAPH-F925. Its distinct columns, one per line. 7 B
002428 unicode/part1/U+F926 NormalizationTest.txt 臘␊臘 Line 13653: CJK COMPATIBILITY IDEOGRAPH-F926. Its distinct columns, one per line. 7 B
002429 unicode/part1/U+F927 NormalizationTest.txt 蠟␊蠟 Line 13654: CJK COMPATIBILITY IDEOGRAPH-F927. Its distinct columns, one per line. 7 B
002430 unicode/part1/U+F928 NormalizationTest.txt 廊␊廊 Line 13655: CJK COMPATIBILITY IDEOGRAPH-F928. Its distinct columns, one per line. 7 B
002431 unicode/part1/U+F929 NormalizationTest.txt 朗␊朗 Line 13656: CJK COMPATIBILITY IDEOGRAPH-F929. Its distinct columns, one per line. 7 B
002432 unicode/part1/U+F92A NormalizationTest.txt 浪␊浪 Line 13657: CJK COMPATIBILITY IDEOGRAPH-F92A. Its distinct columns, one per line. 7 B
002433 unicode/part1/U+F92B NormalizationTest.txt 狼␊狼 Line 13658: CJK COMPATIBILITY IDEOGRAPH-F92B. Its distinct columns, one per line. 7 B
002434 unicode/part1/U+F92C NormalizationTest.txt 郎␊郎 Line 13659: CJK COMPATIBILITY IDEOGRAPH-F92C. Its distinct columns, one per line. 7 B
002435 unicode/part1/U+F92D NormalizationTest.txt 來␊來 Line 13660: CJK COMPATIBILITY IDEOGRAPH-F92D. Its distinct columns, one per line. 7 B
002436 unicode/part1/U+F92E NormalizationTest.txt 冷␊冷 Line 13661: CJK COMPATIBILITY IDEOGRAPH-F92E. Its distinct columns, one per line. 7 B
002437 unicode/part1/U+F92F NormalizationTest.txt 勞␊勞 Line 13662: CJK COMPATIBILITY IDEOGRAPH-F92F. Its distinct columns, one per line. 7 B
002438 unicode/part1/U+F930 NormalizationTest.txt 擄␊擄 Line 13663: CJK COMPATIBILITY IDEOGRAPH-F930. Its distinct columns, one per line. 7 B
002439 unicode/part1/U+F931 NormalizationTest.txt 櫓␊櫓 Line 13664: CJK COMPATIBILITY IDEOGRAPH-F931. Its distinct columns, one per line. 7 B
002440 unicode/part1/U+F932 NormalizationTest.txt 爐␊爐 Line 13665: CJK COMPATIBILITY IDEOGRAPH-F932. Its distinct columns, one per line. 7 B
002441 unicode/part1/U+F933 NormalizationTest.txt 盧␊盧 Line 13666: CJK COMPATIBILITY IDEOGRAPH-F933. Its distinct columns, one per line. 7 B
002442 unicode/part1/U+F934 NormalizationTest.txt 老␊老 Line 13667: CJK COMPATIBILITY IDEOGRAPH-F934. Its distinct columns, one per line. 7 B
002443 unicode/part1/U+F935 NormalizationTest.txt 蘆␊蘆 Line 13668: CJK COMPATIBILITY IDEOGRAPH-F935. Its distinct columns, one per line. 7 B
002444 unicode/part1/U+F936 NormalizationTest.txt 虜␊虜 Line 13669: CJK COMPATIBILITY IDEOGRAPH-F936. Its distinct columns, one per line. 7 B
002445 unicode/part1/U+F937 NormalizationTest.txt 路␊路 Line 13670: CJK COMPATIBILITY IDEOGRAPH-F937. Its distinct columns, one per line. 7 B
002446 unicode/part1/U+F938 NormalizationTest.txt 露␊露 Line 13671: CJK COMPATIBILITY IDEOGRAPH-F938. Its distinct columns, one per line. 7 B
002447 unicode/part1/U+F939 NormalizationTest.txt 魯␊魯 Line 13672: CJK COMPATIBILITY IDEOGRAPH-F939. Its distinct columns, one per line. 7 B
002448 unicode/part1/U+F93A NormalizationTest.txt 鷺␊鷺 Line 13673: CJK COMPATIBILITY IDEOGRAPH-F93A. Its distinct columns, one per line. 7 B
002449 unicode/part1/U+F93B NormalizationTest.txt 碌␊碌 Line 13674: CJK COMPATIBILITY IDEOGRAPH-F93B. Its distinct columns, one per line. 7 B
002450 unicode/part1/U+F93C NormalizationTest.txt 祿␊祿 Line 13675: CJK COMPATIBILITY IDEOGRAPH-F93C. Its distinct columns, one per line. 7 B
002451 unicode/part1/U+F93D NormalizationTest.txt 綠␊綠 Line 13676: CJK COMPATIBILITY IDEOGRAPH-F93D. Its distinct columns, one per line. 7 B
002452 unicode/part1/U+F93E NormalizationTest.txt 菉␊菉 Line 13677: CJK COMPATIBILITY IDEOGRAPH-F93E. Its distinct columns, one per line. 7 B
002453 unicode/part1/U+F93F NormalizationTest.txt 錄␊錄 Line 13678: CJK COMPATIBILITY IDEOGRAPH-F93F. Its distinct columns, one per line. 7 B
002454 unicode/part1/U+F940 NormalizationTest.txt 鹿␊鹿 Line 13679: CJK COMPATIBILITY IDEOGRAPH-F940. Its distinct columns, one per line. 7 B
002455 unicode/part1/U+F941 NormalizationTest.txt 論␊論 Line 13680: CJK COMPATIBILITY IDEOGRAPH-F941. Its distinct columns, one per line. 7 B
002456 unicode/part1/U+F942 NormalizationTest.txt 壟␊壟 Line 13681: CJK COMPATIBILITY IDEOGRAPH-F942. 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.