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

5,928 of 11,911 cases

Case Name Expected Note Size
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
005919 unicode/part1/U+2F9FB NormalizationTest.txt 𩐊␊𩐊 Line 17144: CJK COMPATIBILITY IDEOGRAPH-2F9FB. Its distinct columns, one per line. 9 B
005920 unicode/part1/U+2F9FC NormalizationTest.txt 䪲␊䪲 Line 17145: CJK COMPATIBILITY IDEOGRAPH-2F9FC. Its distinct columns, one per line. 8 B
005921 unicode/part1/U+2F9FD NormalizationTest.txt 𩒖␊𩒖 Line 17146: CJK COMPATIBILITY IDEOGRAPH-2F9FD. Its distinct columns, one per line. 9 B
005922 unicode/part1/U+2F9FE NormalizationTest.txt 頋␊頋 Line 17147: CJK COMPATIBILITY IDEOGRAPH-2F9FE. Its distinct columns, one per line. 8 B
005923 unicode/part1/U+2F9FF NormalizationTest.txt 頋␊頋 Line 17148: CJK COMPATIBILITY IDEOGRAPH-2F9FF. Its distinct columns, one per line. 8 B
005924 unicode/part1/U+2FA00 NormalizationTest.txt 頩␊頩 Line 17149: CJK COMPATIBILITY IDEOGRAPH-2FA00. Its distinct columns, one per line. 8 B
005925 unicode/part1/U+2FA01 NormalizationTest.txt 𩖶␊𩖶 Line 17150: CJK COMPATIBILITY IDEOGRAPH-2FA01. Its distinct columns, one per line. 9 B
005926 unicode/part1/U+2FA02 NormalizationTest.txt 飢␊飢 Line 17151: CJK COMPATIBILITY IDEOGRAPH-2FA02. Its distinct columns, one per line. 8 B
005927 unicode/part1/U+2FA03 NormalizationTest.txt 䬳␊䬳 Line 17152: CJK COMPATIBILITY IDEOGRAPH-2FA03. Its distinct columns, one per line. 8 B
005928 unicode/part1/U+2FA04 NormalizationTest.txt 餩␊餩 Line 17153: CJK COMPATIBILITY IDEOGRAPH-2FA04. Its distinct columns, one per line. 8 B
005929 unicode/part1/U+2FA05 NormalizationTest.txt 馧␊馧 Line 17154: CJK COMPATIBILITY IDEOGRAPH-2FA05. Its distinct columns, one per line. 8 B
005930 unicode/part1/U+2FA06 NormalizationTest.txt 駂␊駂 Line 17155: CJK COMPATIBILITY IDEOGRAPH-2FA06. Its distinct columns, one per line. 8 B
005931 unicode/part1/U+2FA07 NormalizationTest.txt 駾␊駾 Line 17156: CJK COMPATIBILITY IDEOGRAPH-2FA07. Its distinct columns, one per line. 8 B
005932 unicode/part1/U+2FA08 NormalizationTest.txt 䯎␊䯎 Line 17157: CJK COMPATIBILITY IDEOGRAPH-2FA08. Its distinct columns, one per line. 8 B
005933 unicode/part1/U+2FA09 NormalizationTest.txt 𩬰␊𩬰 Line 17158: CJK COMPATIBILITY IDEOGRAPH-2FA09. Its distinct columns, one per line. 9 B
005934 unicode/part1/U+2FA0A NormalizationTest.txt 鬒␊鬒 Line 17159: CJK COMPATIBILITY IDEOGRAPH-2FA0A. Its distinct columns, one per line. 8 B
005935 unicode/part1/U+2FA0B NormalizationTest.txt 鱀␊鱀 Line 17160: CJK COMPATIBILITY IDEOGRAPH-2FA0B. Its distinct columns, one per line. 8 B
005936 unicode/part1/U+2FA0C NormalizationTest.txt 鳽␊鳽 Line 17161: CJK COMPATIBILITY IDEOGRAPH-2FA0C. Its distinct columns, one per line. 8 B
005937 unicode/part1/U+2FA0D NormalizationTest.txt 䳎␊䳎 Line 17162: CJK COMPATIBILITY IDEOGRAPH-2FA0D. Its distinct columns, one per line. 8 B
005938 unicode/part1/U+2FA0E NormalizationTest.txt 䳭␊䳭 Line 17163: CJK COMPATIBILITY IDEOGRAPH-2FA0E. Its distinct columns, one per line. 8 B
005939 unicode/part1/U+2FA0F NormalizationTest.txt 鵧␊鵧 Line 17164: CJK COMPATIBILITY IDEOGRAPH-2FA0F. Its distinct columns, one per line. 8 B
005940 unicode/part1/U+2FA10 NormalizationTest.txt 𪃎␊𪃎 Line 17165: CJK COMPATIBILITY IDEOGRAPH-2FA10. Its distinct columns, one per line. 9 B
005941 unicode/part1/U+2FA11 NormalizationTest.txt 䳸␊䳸 Line 17166: CJK COMPATIBILITY IDEOGRAPH-2FA11. Its distinct columns, one per line. 8 B
005942 unicode/part1/U+2FA12 NormalizationTest.txt 𪄅␊𪄅 Line 17167: CJK COMPATIBILITY IDEOGRAPH-2FA12. Its distinct columns, one per line. 9 B
005943 unicode/part1/U+2FA13 NormalizationTest.txt 𪈎␊𪈎 Line 17168: CJK COMPATIBILITY IDEOGRAPH-2FA13. Its distinct columns, one per line. 9 B
005944 unicode/part1/U+2FA14 NormalizationTest.txt 𪊑␊𪊑 Line 17169: CJK COMPATIBILITY IDEOGRAPH-2FA14. 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.