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
005419 unicode/part1/U+2F807 NormalizationTest.txt 倂␊倂 Line 16644: CJK COMPATIBILITY IDEOGRAPH-2F807. Its distinct columns, one per line. 8 B
005420 unicode/part1/U+2F808 NormalizationTest.txt 偺␊偺 Line 16645: CJK COMPATIBILITY IDEOGRAPH-2F808. Its distinct columns, one per line. 8 B
005421 unicode/part1/U+2F809 NormalizationTest.txt 備␊備 Line 16646: CJK COMPATIBILITY IDEOGRAPH-2F809. Its distinct columns, one per line. 8 B
005422 unicode/part1/U+2F80A NormalizationTest.txt 僧␊僧 Line 16647: CJK COMPATIBILITY IDEOGRAPH-2F80A. Its distinct columns, one per line. 8 B
005423 unicode/part1/U+2F80B NormalizationTest.txt 像␊像 Line 16648: CJK COMPATIBILITY IDEOGRAPH-2F80B. Its distinct columns, one per line. 8 B
005424 unicode/part1/U+2F80C NormalizationTest.txt 㒞␊㒞 Line 16649: CJK COMPATIBILITY IDEOGRAPH-2F80C. Its distinct columns, one per line. 8 B
005425 unicode/part1/U+2F80D NormalizationTest.txt 𠘺␊𠘺 Line 16650: CJK COMPATIBILITY IDEOGRAPH-2F80D. Its distinct columns, one per line. 9 B
005426 unicode/part1/U+2F80E NormalizationTest.txt 免␊免 Line 16651: CJK COMPATIBILITY IDEOGRAPH-2F80E. Its distinct columns, one per line. 8 B
005427 unicode/part1/U+2F80F NormalizationTest.txt 兔␊兔 Line 16652: CJK COMPATIBILITY IDEOGRAPH-2F80F. Its distinct columns, one per line. 8 B
005428 unicode/part1/U+2F810 NormalizationTest.txt 兤␊兤 Line 16653: CJK COMPATIBILITY IDEOGRAPH-2F810. Its distinct columns, one per line. 8 B
005429 unicode/part1/U+2F811 NormalizationTest.txt 具␊具 Line 16654: CJK COMPATIBILITY IDEOGRAPH-2F811. Its distinct columns, one per line. 8 B
005430 unicode/part1/U+2F812 NormalizationTest.txt 𠔜␊𠔜 Line 16655: CJK COMPATIBILITY IDEOGRAPH-2F812. Its distinct columns, one per line. 9 B
005431 unicode/part1/U+2F813 NormalizationTest.txt 㒹␊㒹 Line 16656: CJK COMPATIBILITY IDEOGRAPH-2F813. Its distinct columns, one per line. 8 B
005432 unicode/part1/U+2F814 NormalizationTest.txt 內␊內 Line 16657: CJK COMPATIBILITY IDEOGRAPH-2F814. Its distinct columns, one per line. 8 B
005433 unicode/part1/U+2F815 NormalizationTest.txt 再␊再 Line 16658: CJK COMPATIBILITY IDEOGRAPH-2F815. Its distinct columns, one per line. 8 B
005434 unicode/part1/U+2F816 NormalizationTest.txt 𠕋␊𠕋 Line 16659: CJK COMPATIBILITY IDEOGRAPH-2F816. Its distinct columns, one per line. 9 B
005435 unicode/part1/U+2F817 NormalizationTest.txt 冗␊冗 Line 16660: CJK COMPATIBILITY IDEOGRAPH-2F817. Its distinct columns, one per line. 8 B
005436 unicode/part1/U+2F818 NormalizationTest.txt 冤␊冤 Line 16661: CJK COMPATIBILITY IDEOGRAPH-2F818. Its distinct columns, one per line. 8 B
005437 unicode/part1/U+2F819 NormalizationTest.txt 仌␊仌 Line 16662: CJK COMPATIBILITY IDEOGRAPH-2F819. Its distinct columns, one per line. 8 B
005438 unicode/part1/U+2F81A NormalizationTest.txt 冬␊冬 Line 16663: CJK COMPATIBILITY IDEOGRAPH-2F81A. Its distinct columns, one per line. 8 B
005439 unicode/part1/U+2F81B NormalizationTest.txt 况␊况 Line 16664: CJK COMPATIBILITY IDEOGRAPH-2F81B. Its distinct columns, one per line. 8 B
005440 unicode/part1/U+2F81C NormalizationTest.txt 𩇟␊𩇟 Line 16665: CJK COMPATIBILITY IDEOGRAPH-2F81C. Its distinct columns, one per line. 9 B
005441 unicode/part1/U+2F81D NormalizationTest.txt 凵␊凵 Line 16666: CJK COMPATIBILITY IDEOGRAPH-2F81D. Its distinct columns, one per line. 8 B
005442 unicode/part1/U+2F81E NormalizationTest.txt 刃␊刃 Line 16667: CJK COMPATIBILITY IDEOGRAPH-2F81E. Its distinct columns, one per line. 8 B
005443 unicode/part1/U+2F81F NormalizationTest.txt 㓟␊㓟 Line 16668: CJK COMPATIBILITY IDEOGRAPH-2F81F. Its distinct columns, one per line. 8 B
005444 unicode/part1/U+2F820 NormalizationTest.txt 刻␊刻 Line 16669: CJK COMPATIBILITY IDEOGRAPH-2F820. Its distinct columns, one per line. 8 B
005445 unicode/part1/U+2F821 NormalizationTest.txt 剆␊剆 Line 16670: CJK COMPATIBILITY IDEOGRAPH-2F821. Its distinct columns, one per line. 8 B
005446 unicode/part1/U+2F822 NormalizationTest.txt 割␊割 Line 16671: CJK COMPATIBILITY IDEOGRAPH-2F822. Its distinct columns, one per line. 8 B
005447 unicode/part1/U+2F823 NormalizationTest.txt 剷␊剷 Line 16672: CJK COMPATIBILITY IDEOGRAPH-2F823. Its distinct columns, one per line. 8 B
005448 unicode/part1/U+2F824 NormalizationTest.txt 㔕␊㔕 Line 16673: CJK COMPATIBILITY IDEOGRAPH-2F824. Its distinct columns, one per line. 8 B
005449 unicode/part1/U+2F825 NormalizationTest.txt 勇␊勇 Line 16674: CJK COMPATIBILITY IDEOGRAPH-2F825. Its distinct columns, one per line. 8 B
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

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.