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
005400 unicode/part1/U+1F250 NormalizationTest.txt 🉐␊得 Line 16625: CIRCLED IDEOGRAPH ADVANTAGE. Its distinct columns, one per line. 8 B
005401 unicode/part1/U+1F251 NormalizationTest.txt 🉑␊可 Line 16626: CIRCLED IDEOGRAPH ACCEPT. Its distinct columns, one per line. 8 B
005402 unicode/part1/U+1FBF0 NormalizationTest.txt 🯰␊0 Line 16627: SEGMENTED DIGIT ZERO. Its distinct columns, one per line. 6 B
005403 unicode/part1/U+1FBF1 NormalizationTest.txt 🯱␊1 Line 16628: SEGMENTED DIGIT ONE. Its distinct columns, one per line. 6 B
005404 unicode/part1/U+1FBF2 NormalizationTest.txt 🯲␊2 Line 16629: SEGMENTED DIGIT TWO. Its distinct columns, one per line. 6 B
005405 unicode/part1/U+1FBF3 NormalizationTest.txt 🯳␊3 Line 16630: SEGMENTED DIGIT THREE. Its distinct columns, one per line. 6 B
005406 unicode/part1/U+1FBF4 NormalizationTest.txt 🯴␊4 Line 16631: SEGMENTED DIGIT FOUR. Its distinct columns, one per line. 6 B
005407 unicode/part1/U+1FBF5 NormalizationTest.txt 🯵␊5 Line 16632: SEGMENTED DIGIT FIVE. Its distinct columns, one per line. 6 B
005408 unicode/part1/U+1FBF6 NormalizationTest.txt 🯶␊6 Line 16633: SEGMENTED DIGIT SIX. Its distinct columns, one per line. 6 B
005409 unicode/part1/U+1FBF7 NormalizationTest.txt 🯷␊7 Line 16634: SEGMENTED DIGIT SEVEN. Its distinct columns, one per line. 6 B
005410 unicode/part1/U+1FBF8 NormalizationTest.txt 🯸␊8 Line 16635: SEGMENTED DIGIT EIGHT. Its distinct columns, one per line. 6 B
005411 unicode/part1/U+1FBF9 NormalizationTest.txt 🯹␊9 Line 16636: SEGMENTED DIGIT NINE. Its distinct columns, one per line. 6 B
005412 unicode/part1/U+2F800 NormalizationTest.txt 丽␊丽 Line 16637: CJK COMPATIBILITY IDEOGRAPH-2F800. Its distinct columns, one per line. 8 B
005413 unicode/part1/U+2F801 NormalizationTest.txt 丸␊丸 Line 16638: CJK COMPATIBILITY IDEOGRAPH-2F801. Its distinct columns, one per line. 8 B
005414 unicode/part1/U+2F802 NormalizationTest.txt 乁␊乁 Line 16639: CJK COMPATIBILITY IDEOGRAPH-2F802. Its distinct columns, one per line. 8 B
005415 unicode/part1/U+2F803 NormalizationTest.txt 𠄢␊𠄢 Line 16640: CJK COMPATIBILITY IDEOGRAPH-2F803. Its distinct columns, one per line. 9 B
005416 unicode/part1/U+2F804 NormalizationTest.txt 你␊你 Line 16641: CJK COMPATIBILITY IDEOGRAPH-2F804. Its distinct columns, one per line. 8 B
005417 unicode/part1/U+2F805 NormalizationTest.txt 侮␊侮 Line 16642: CJK COMPATIBILITY IDEOGRAPH-2F805. Its distinct columns, one per line. 8 B
005418 unicode/part1/U+2F806 NormalizationTest.txt 侻␊侻 Line 16643: CJK COMPATIBILITY IDEOGRAPH-2F806. Its distinct columns, one per line. 8 B
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

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.