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
005450 unicode/part1/U+2F826 NormalizationTest.txt 勉␊勉 Line 16675: CJK COMPATIBILITY IDEOGRAPH-2F826. Its distinct columns, one per line. 8 B
005451 unicode/part1/U+2F827 NormalizationTest.txt 勤␊勤 Line 16676: CJK COMPATIBILITY IDEOGRAPH-2F827. Its distinct columns, one per line. 8 B
005452 unicode/part1/U+2F828 NormalizationTest.txt 勺␊勺 Line 16677: CJK COMPATIBILITY IDEOGRAPH-2F828. Its distinct columns, one per line. 8 B
005453 unicode/part1/U+2F829 NormalizationTest.txt 包␊包 Line 16678: CJK COMPATIBILITY IDEOGRAPH-2F829. Its distinct columns, one per line. 8 B
005454 unicode/part1/U+2F82A NormalizationTest.txt 匆␊匆 Line 16679: CJK COMPATIBILITY IDEOGRAPH-2F82A. Its distinct columns, one per line. 8 B
005455 unicode/part1/U+2F82B NormalizationTest.txt 北␊北 Line 16680: CJK COMPATIBILITY IDEOGRAPH-2F82B. Its distinct columns, one per line. 8 B
005456 unicode/part1/U+2F82C NormalizationTest.txt 卉␊卉 Line 16681: CJK COMPATIBILITY IDEOGRAPH-2F82C. Its distinct columns, one per line. 8 B
005457 unicode/part1/U+2F82D NormalizationTest.txt 卑␊卑 Line 16682: CJK COMPATIBILITY IDEOGRAPH-2F82D. Its distinct columns, one per line. 8 B
005458 unicode/part1/U+2F82E NormalizationTest.txt 博␊博 Line 16683: CJK COMPATIBILITY IDEOGRAPH-2F82E. Its distinct columns, one per line. 8 B
005459 unicode/part1/U+2F82F NormalizationTest.txt 即␊即 Line 16684: CJK COMPATIBILITY IDEOGRAPH-2F82F. Its distinct columns, one per line. 8 B
005460 unicode/part1/U+2F830 NormalizationTest.txt 卽␊卽 Line 16685: CJK COMPATIBILITY IDEOGRAPH-2F830. Its distinct columns, one per line. 8 B
005461 unicode/part1/U+2F831 NormalizationTest.txt 卿␊卿 Line 16686: CJK COMPATIBILITY IDEOGRAPH-2F831. Its distinct columns, one per line. 8 B
005462 unicode/part1/U+2F832 NormalizationTest.txt 卿␊卿 Line 16687: CJK COMPATIBILITY IDEOGRAPH-2F832. Its distinct columns, one per line. 8 B
005463 unicode/part1/U+2F833 NormalizationTest.txt 卿␊卿 Line 16688: CJK COMPATIBILITY IDEOGRAPH-2F833. Its distinct columns, one per line. 8 B
005464 unicode/part1/U+2F834 NormalizationTest.txt 𠨬␊𠨬 Line 16689: CJK COMPATIBILITY IDEOGRAPH-2F834. Its distinct columns, one per line. 9 B
005465 unicode/part1/U+2F835 NormalizationTest.txt 灰␊灰 Line 16690: CJK COMPATIBILITY IDEOGRAPH-2F835. Its distinct columns, one per line. 8 B
005466 unicode/part1/U+2F836 NormalizationTest.txt 及␊及 Line 16691: CJK COMPATIBILITY IDEOGRAPH-2F836. Its distinct columns, one per line. 8 B
005467 unicode/part1/U+2F837 NormalizationTest.txt 叟␊叟 Line 16692: CJK COMPATIBILITY IDEOGRAPH-2F837. Its distinct columns, one per line. 8 B
005468 unicode/part1/U+2F838 NormalizationTest.txt 𠭣␊𠭣 Line 16693: CJK COMPATIBILITY IDEOGRAPH-2F838. Its distinct columns, one per line. 9 B
005469 unicode/part1/U+2F839 NormalizationTest.txt 叫␊叫 Line 16694: CJK COMPATIBILITY IDEOGRAPH-2F839. Its distinct columns, one per line. 8 B
005470 unicode/part1/U+2F83A NormalizationTest.txt 叱␊叱 Line 16695: CJK COMPATIBILITY IDEOGRAPH-2F83A. Its distinct columns, one per line. 8 B
005471 unicode/part1/U+2F83B NormalizationTest.txt 吆␊吆 Line 16696: CJK COMPATIBILITY IDEOGRAPH-2F83B. Its distinct columns, one per line. 8 B
005472 unicode/part1/U+2F83C NormalizationTest.txt 咞␊咞 Line 16697: CJK COMPATIBILITY IDEOGRAPH-2F83C. Its distinct columns, one per line. 8 B
005473 unicode/part1/U+2F83D NormalizationTest.txt 吸␊吸 Line 16698: CJK COMPATIBILITY IDEOGRAPH-2F83D. Its distinct columns, one per line. 8 B
005474 unicode/part1/U+2F83E NormalizationTest.txt 呈␊呈 Line 16699: CJK COMPATIBILITY IDEOGRAPH-2F83E. Its distinct columns, one per line. 8 B
005475 unicode/part1/U+2F83F NormalizationTest.txt 周␊周 Line 16700: CJK COMPATIBILITY IDEOGRAPH-2F83F. Its distinct columns, one per line. 8 B
005476 unicode/part1/U+2F840 NormalizationTest.txt 咢␊咢 Line 16701: CJK COMPATIBILITY IDEOGRAPH-2F840. Its distinct columns, one per line. 8 B
005477 unicode/part1/U+2F841 NormalizationTest.txt 哶␊哶 Line 16702: CJK COMPATIBILITY IDEOGRAPH-2F841. Its distinct columns, one per line. 8 B
005478 unicode/part1/U+2F842 NormalizationTest.txt 唐␊唐 Line 16703: CJK COMPATIBILITY IDEOGRAPH-2F842. Its distinct columns, one per line. 8 B
005479 unicode/part1/U+2F843 NormalizationTest.txt 啓␊啓 Line 16704: CJK COMPATIBILITY IDEOGRAPH-2F843. Its distinct columns, one per line. 8 B
005480 unicode/part1/U+2F844 NormalizationTest.txt 啣␊啣 Line 16705: CJK COMPATIBILITY IDEOGRAPH-2F844. Its distinct columns, one per line. 8 B
005481 unicode/part1/U+2F845 NormalizationTest.txt 善␊善 Line 16706: CJK COMPATIBILITY IDEOGRAPH-2F845. Its distinct columns, one per line. 8 B
005482 unicode/part1/U+2F846 NormalizationTest.txt 善␊善 Line 16707: CJK COMPATIBILITY IDEOGRAPH-2F846. Its distinct columns, one per line. 8 B
005483 unicode/part1/U+2F847 NormalizationTest.txt 喙␊喙 Line 16708: CJK COMPATIBILITY IDEOGRAPH-2F847. Its distinct columns, one per line. 8 B
005484 unicode/part1/U+2F848 NormalizationTest.txt 喫␊喫 Line 16709: CJK COMPATIBILITY IDEOGRAPH-2F848. Its distinct columns, one per line. 8 B
005485 unicode/part1/U+2F849 NormalizationTest.txt 喳␊喳 Line 16710: CJK COMPATIBILITY IDEOGRAPH-2F849. Its distinct columns, one per line. 8 B
005486 unicode/part1/U+2F84A NormalizationTest.txt 嗂␊嗂 Line 16711: CJK COMPATIBILITY IDEOGRAPH-2F84A. Its distinct columns, one per line. 8 B
005487 unicode/part1/U+2F84B NormalizationTest.txt 圖␊圖 Line 16712: CJK COMPATIBILITY IDEOGRAPH-2F84B. Its distinct columns, one per line. 8 B
005488 unicode/part1/U+2F84C NormalizationTest.txt 嘆␊嘆 Line 16713: CJK COMPATIBILITY IDEOGRAPH-2F84C. Its distinct columns, one per line. 8 B
005489 unicode/part1/U+2F84D NormalizationTest.txt 圗␊圗 Line 16714: CJK COMPATIBILITY IDEOGRAPH-2F84D. Its distinct columns, one per line. 8 B
005490 unicode/part1/U+2F84E NormalizationTest.txt 噑␊噑 Line 16715: CJK COMPATIBILITY IDEOGRAPH-2F84E. Its distinct columns, one per line. 8 B
005491 unicode/part1/U+2F84F NormalizationTest.txt 噴␊噴 Line 16716: CJK COMPATIBILITY IDEOGRAPH-2F84F. Its distinct columns, one per line. 8 B
005492 unicode/part1/U+2F850 NormalizationTest.txt 切␊切 Line 16717: CJK COMPATIBILITY IDEOGRAPH-2F850. Its distinct columns, one per line. 8 B
005493 unicode/part1/U+2F851 NormalizationTest.txt 壮␊壮 Line 16718: CJK COMPATIBILITY IDEOGRAPH-2F851. Its distinct columns, one per line. 8 B
005494 unicode/part1/U+2F852 NormalizationTest.txt 城␊城 Line 16719: CJK COMPATIBILITY IDEOGRAPH-2F852. Its distinct columns, one per line. 8 B
005495 unicode/part1/U+2F853 NormalizationTest.txt 埴␊埴 Line 16720: CJK COMPATIBILITY IDEOGRAPH-2F853. Its distinct columns, one per line. 8 B
005496 unicode/part1/U+2F854 NormalizationTest.txt 堍␊堍 Line 16721: CJK COMPATIBILITY IDEOGRAPH-2F854. Its distinct columns, one per line. 8 B
005497 unicode/part1/U+2F855 NormalizationTest.txt 型␊型 Line 16722: CJK COMPATIBILITY IDEOGRAPH-2F855. Its distinct columns, one per line. 8 B
005498 unicode/part1/U+2F856 NormalizationTest.txt 堲␊堲 Line 16723: CJK COMPATIBILITY IDEOGRAPH-2F856. Its distinct columns, one per line. 8 B
005499 unicode/part1/U+2F857 NormalizationTest.txt 報␊報 Line 16724: CJK COMPATIBILITY IDEOGRAPH-2F857. 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.