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
005869 unicode/part1/U+2F9C9 NormalizationTest.txt 裺␊裺 Line 17094: CJK COMPATIBILITY IDEOGRAPH-2F9C9. Its distinct columns, one per line. 8 B
005870 unicode/part1/U+2F9CA NormalizationTest.txt 㒻␊㒻 Line 17095: CJK COMPATIBILITY IDEOGRAPH-2F9CA. Its distinct columns, one per line. 8 B
005871 unicode/part1/U+2F9CB NormalizationTest.txt 𧢮␊𧢮 Line 17096: CJK COMPATIBILITY IDEOGRAPH-2F9CB. Its distinct columns, one per line. 9 B
005872 unicode/part1/U+2F9CC NormalizationTest.txt 𧥦␊𧥦 Line 17097: CJK COMPATIBILITY IDEOGRAPH-2F9CC. Its distinct columns, one per line. 9 B
005873 unicode/part1/U+2F9CD NormalizationTest.txt 䚾␊䚾 Line 17098: CJK COMPATIBILITY IDEOGRAPH-2F9CD. Its distinct columns, one per line. 8 B
005874 unicode/part1/U+2F9CE NormalizationTest.txt 䛇␊䛇 Line 17099: CJK COMPATIBILITY IDEOGRAPH-2F9CE. Its distinct columns, one per line. 8 B
005875 unicode/part1/U+2F9CF NormalizationTest.txt 誠␊誠 Line 17100: CJK COMPATIBILITY IDEOGRAPH-2F9CF. Its distinct columns, one per line. 8 B
005876 unicode/part1/U+2F9D0 NormalizationTest.txt 諭␊諭 Line 17101: CJK COMPATIBILITY IDEOGRAPH-2F9D0. Its distinct columns, one per line. 8 B
005877 unicode/part1/U+2F9D1 NormalizationTest.txt 變␊變 Line 17102: CJK COMPATIBILITY IDEOGRAPH-2F9D1. Its distinct columns, one per line. 8 B
005878 unicode/part1/U+2F9D2 NormalizationTest.txt 豕␊豕 Line 17103: CJK COMPATIBILITY IDEOGRAPH-2F9D2. Its distinct columns, one per line. 8 B
005879 unicode/part1/U+2F9D3 NormalizationTest.txt 𧲨␊𧲨 Line 17104: CJK COMPATIBILITY IDEOGRAPH-2F9D3. Its distinct columns, one per line. 9 B
005880 unicode/part1/U+2F9D4 NormalizationTest.txt 貫␊貫 Line 17105: CJK COMPATIBILITY IDEOGRAPH-2F9D4. Its distinct columns, one per line. 8 B
005881 unicode/part1/U+2F9D5 NormalizationTest.txt 賁␊賁 Line 17106: CJK COMPATIBILITY IDEOGRAPH-2F9D5. Its distinct columns, one per line. 8 B
005882 unicode/part1/U+2F9D6 NormalizationTest.txt 贛␊贛 Line 17107: CJK COMPATIBILITY IDEOGRAPH-2F9D6. Its distinct columns, one per line. 8 B
005883 unicode/part1/U+2F9D7 NormalizationTest.txt 起␊起 Line 17108: CJK COMPATIBILITY IDEOGRAPH-2F9D7. Its distinct columns, one per line. 8 B
005884 unicode/part1/U+2F9D8 NormalizationTest.txt 𧼯␊𧼯 Line 17109: CJK COMPATIBILITY IDEOGRAPH-2F9D8. Its distinct columns, one per line. 9 B
005885 unicode/part1/U+2F9D9 NormalizationTest.txt 𠠄␊𠠄 Line 17110: CJK COMPATIBILITY IDEOGRAPH-2F9D9. Its distinct columns, one per line. 9 B
005886 unicode/part1/U+2F9DA NormalizationTest.txt 跋␊跋 Line 17111: CJK COMPATIBILITY IDEOGRAPH-2F9DA. Its distinct columns, one per line. 8 B
005887 unicode/part1/U+2F9DB NormalizationTest.txt 趼␊趼 Line 17112: CJK COMPATIBILITY IDEOGRAPH-2F9DB. Its distinct columns, one per line. 8 B
005888 unicode/part1/U+2F9DC NormalizationTest.txt 跰␊跰 Line 17113: CJK COMPATIBILITY IDEOGRAPH-2F9DC. Its distinct columns, one per line. 8 B
005889 unicode/part1/U+2F9DD NormalizationTest.txt 𠣞␊𠣞 Line 17114: CJK COMPATIBILITY IDEOGRAPH-2F9DD. Its distinct columns, one per line. 9 B
005890 unicode/part1/U+2F9DE NormalizationTest.txt 軔␊軔 Line 17115: CJK COMPATIBILITY IDEOGRAPH-2F9DE. Its distinct columns, one per line. 8 B
005891 unicode/part1/U+2F9DF NormalizationTest.txt 輸␊輸 Line 17116: CJK COMPATIBILITY IDEOGRAPH-2F9DF. Its distinct columns, one per line. 8 B
005892 unicode/part1/U+2F9E0 NormalizationTest.txt 𨗒␊𨗒 Line 17117: CJK COMPATIBILITY IDEOGRAPH-2F9E0. Its distinct columns, one per line. 9 B
005893 unicode/part1/U+2F9E1 NormalizationTest.txt 𨗭␊𨗭 Line 17118: CJK COMPATIBILITY IDEOGRAPH-2F9E1. Its distinct columns, one per line. 9 B
005894 unicode/part1/U+2F9E2 NormalizationTest.txt 邔␊邔 Line 17119: CJK COMPATIBILITY IDEOGRAPH-2F9E2. Its distinct columns, one per line. 8 B
005895 unicode/part1/U+2F9E3 NormalizationTest.txt 郱␊郱 Line 17120: CJK COMPATIBILITY IDEOGRAPH-2F9E3. Its distinct columns, one per line. 8 B
005896 unicode/part1/U+2F9E4 NormalizationTest.txt 鄑␊鄑 Line 17121: CJK COMPATIBILITY IDEOGRAPH-2F9E4. Its distinct columns, one per line. 8 B
005897 unicode/part1/U+2F9E5 NormalizationTest.txt 𨜮␊𨜮 Line 17122: CJK COMPATIBILITY IDEOGRAPH-2F9E5. Its distinct columns, one per line. 9 B
005898 unicode/part1/U+2F9E6 NormalizationTest.txt 鄛␊鄛 Line 17123: CJK COMPATIBILITY IDEOGRAPH-2F9E6. Its distinct columns, one per line. 8 B
005899 unicode/part1/U+2F9E7 NormalizationTest.txt 鈸␊鈸 Line 17124: CJK COMPATIBILITY IDEOGRAPH-2F9E7. Its distinct columns, one per line. 8 B
005900 unicode/part1/U+2F9E8 NormalizationTest.txt 鋗␊鋗 Line 17125: CJK COMPATIBILITY IDEOGRAPH-2F9E8. Its distinct columns, one per line. 8 B
005901 unicode/part1/U+2F9E9 NormalizationTest.txt 鋘␊鋘 Line 17126: CJK COMPATIBILITY IDEOGRAPH-2F9E9. Its distinct columns, one per line. 8 B
005902 unicode/part1/U+2F9EA NormalizationTest.txt 鉼␊鉼 Line 17127: CJK COMPATIBILITY IDEOGRAPH-2F9EA. Its distinct columns, one per line. 8 B
005903 unicode/part1/U+2F9EB NormalizationTest.txt 鏹␊鏹 Line 17128: CJK COMPATIBILITY IDEOGRAPH-2F9EB. Its distinct columns, one per line. 8 B
005904 unicode/part1/U+2F9EC NormalizationTest.txt 鐕␊鐕 Line 17129: CJK COMPATIBILITY IDEOGRAPH-2F9EC. Its distinct columns, one per line. 8 B
005905 unicode/part1/U+2F9ED NormalizationTest.txt 𨯺␊𨯺 Line 17130: CJK COMPATIBILITY IDEOGRAPH-2F9ED. Its distinct columns, one per line. 9 B
005906 unicode/part1/U+2F9EE NormalizationTest.txt 開␊開 Line 17131: CJK COMPATIBILITY IDEOGRAPH-2F9EE. Its distinct columns, one per line. 8 B
005907 unicode/part1/U+2F9EF NormalizationTest.txt 䦕␊䦕 Line 17132: CJK COMPATIBILITY IDEOGRAPH-2F9EF. Its distinct columns, one per line. 8 B
005908 unicode/part1/U+2F9F0 NormalizationTest.txt 閷␊閷 Line 17133: CJK COMPATIBILITY IDEOGRAPH-2F9F0. Its distinct columns, one per line. 8 B
005909 unicode/part1/U+2F9F1 NormalizationTest.txt 𨵷␊𨵷 Line 17134: CJK COMPATIBILITY IDEOGRAPH-2F9F1. Its distinct columns, one per line. 9 B
005910 unicode/part1/U+2F9F2 NormalizationTest.txt 䧦␊䧦 Line 17135: CJK COMPATIBILITY IDEOGRAPH-2F9F2. Its distinct columns, one per line. 8 B
005911 unicode/part1/U+2F9F3 NormalizationTest.txt 雃␊雃 Line 17136: CJK COMPATIBILITY IDEOGRAPH-2F9F3. Its distinct columns, one per line. 8 B
005912 unicode/part1/U+2F9F4 NormalizationTest.txt 嶲␊嶲 Line 17137: CJK COMPATIBILITY IDEOGRAPH-2F9F4. Its distinct columns, one per line. 8 B
005913 unicode/part1/U+2F9F5 NormalizationTest.txt 霣␊霣 Line 17138: CJK COMPATIBILITY IDEOGRAPH-2F9F5. Its distinct columns, one per line. 8 B
005914 unicode/part1/U+2F9F6 NormalizationTest.txt 𩅅␊𩅅 Line 17139: CJK COMPATIBILITY IDEOGRAPH-2F9F6. Its distinct columns, one per line. 9 B
005915 unicode/part1/U+2F9F7 NormalizationTest.txt 𩈚␊𩈚 Line 17140: CJK COMPATIBILITY IDEOGRAPH-2F9F7. Its distinct columns, one per line. 9 B
005916 unicode/part1/U+2F9F8 NormalizationTest.txt 䩮␊䩮 Line 17141: CJK COMPATIBILITY IDEOGRAPH-2F9F8. Its distinct columns, one per line. 8 B
005917 unicode/part1/U+2F9F9 NormalizationTest.txt 䩶␊䩶 Line 17142: CJK COMPATIBILITY IDEOGRAPH-2F9F9. Its distinct columns, one per line. 8 B
005918 unicode/part1/U+2F9FA NormalizationTest.txt 韠␊韠 Line 17143: CJK COMPATIBILITY IDEOGRAPH-2F9FA. 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.