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
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
005945 unicode/part1/U+2FA15 NormalizationTest.txt 麻␊麻 Line 17170: CJK COMPATIBILITY IDEOGRAPH-2FA15. Its distinct columns, one per line. 8 B
005946 unicode/part1/U+2FA16 NormalizationTest.txt 䵖␊䵖 Line 17171: CJK COMPATIBILITY IDEOGRAPH-2FA16. Its distinct columns, one per line. 8 B
005947 unicode/part1/U+2FA17 NormalizationTest.txt 黹␊黹 Line 17172: CJK COMPATIBILITY IDEOGRAPH-2FA17. Its distinct columns, one per line. 8 B
005948 unicode/part1/U+2FA18 NormalizationTest.txt 黾␊黾 Line 17173: CJK COMPATIBILITY IDEOGRAPH-2FA18. Its distinct columns, one per line. 8 B
005949 unicode/part1/U+2FA19 NormalizationTest.txt 鼅␊鼅 Line 17174: CJK COMPATIBILITY IDEOGRAPH-2FA19. Its distinct columns, one per line. 8 B
005950 unicode/part1/U+2FA1A NormalizationTest.txt 鼏␊鼏 Line 17175: CJK COMPATIBILITY IDEOGRAPH-2FA1A. Its distinct columns, one per line. 8 B
005951 unicode/part1/U+2FA1B NormalizationTest.txt 鼖␊鼖 Line 17176: CJK COMPATIBILITY IDEOGRAPH-2FA1B. Its distinct columns, one per line. 8 B
005952 unicode/part1/U+2FA1C NormalizationTest.txt 鼻␊鼻 Line 17177: CJK COMPATIBILITY IDEOGRAPH-2FA1C. Its distinct columns, one per line. 8 B
005953 unicode/part1/U+2FA1D NormalizationTest.txt 𪘀␊𪘀 Line 17178: CJK COMPATIBILITY IDEOGRAPH-2FA1D. Its distinct columns, one per line. 9 B
009033 regression/singleton/angstrom sign Focused regression Å U+212B is a singleton: it maps to U+00C5 and never comes back. 3 B
009034 regression/singleton/ohm sign Focused regression Ω U+2126 maps to U+03A9. 3 B
009035 regression/singleton/kelvin sign Focused regression K U+212A maps to ASCII K, so a non-ASCII input can give an ASCII output. 3 B
009036 regression/singleton/greek question mark Focused regression ; U+037E maps to an ASCII semicolon. 2 B
009037 regression/singleton/combining grave tone mark Focused regression à U+0340 maps to U+0300, which then composes. 3 B
009038 regression/singleton/greek koronis Focused regression ἀ U+0343 maps to U+0313, which then composes. 4 B
009039 regression/singleton/greek oxia Focused regression ά U+1F71 (oxia) maps to U+03AC (tonos). 3 B
009040 regression/singleton/en quad Focused regression    U+2000 and U+2001 map to U+2002 and U+2003. 6 B
009041 regression/singleton/angle brackets Focused regression 〈x〉 U+2329 and U+232A map to the CJK brackets. 7 B
009042 regression/singleton/cjk compatibility ideographs Focused regression 豈﨎塚龎 U+F900 maps to U+8C48, but U+FA0E is one of the twelve unified ideographs in that block and stays. 12 B
009043 regression/singleton/supplementary compatibility ideograph Focused regression 丽𪘀 U+2F800 maps into the BMP (4 bytes to 3), U+2FA1D to another supplementary character. 8 B
009044 regression/singleton/angstrom then acute Focused regression Ǻ A singleton's replacement composes onwards. 5 B
009045 regression/singleton/ohm then mark Focused regression ᾭ U+2126 becomes omega, then takes three marks one at a time. 9 B
009118 regression/length/ascii from non-ascii Focused regression K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;… 500 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.