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
000347 unicode/part1/U+0340 NormalizationTest.txt ̀␊̀ Line 397: COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 5 B
000348 unicode/part1/U+0341 NormalizationTest.txt ́␊́ Line 398: COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 5 B
000349 unicode/part1/U+0343 NormalizationTest.txt ̓␊̓ Line 399: COMBINING GREEK KORONIS. Its distinct columns, one per line. 5 B
000351 unicode/part1/U+0374 NormalizationTest.txt ʹ␊ʹ Line 401: GREEK NUMERAL SIGN. Its distinct columns, one per line. 5 B
000353 unicode/part1/U+037E NormalizationTest.txt ;␊; Line 403: GREEK QUESTION MARK. Its distinct columns, one per line. 4 B
000357 unicode/part1/U+0387 NormalizationTest.txt ·␊· Line 407: GREEK ANO TELEIA. Its distinct columns, one per line. 5 B
000978 unicode/part1/U+1F71 NormalizationTest.txt ά␊ά␊ά Line 1031: GREEK SMALL LETTER ALPHA WITH OXIA. Its distinct columns, one per line. 11 B
000980 unicode/part1/U+1F73 NormalizationTest.txt έ␊έ␊έ Line 1033: GREEK SMALL LETTER EPSILON WITH OXIA. Its distinct columns, one per line. 11 B
000982 unicode/part1/U+1F75 NormalizationTest.txt ή␊ή␊ή Line 1035: GREEK SMALL LETTER ETA WITH OXIA. Its distinct columns, one per line. 11 B
000984 unicode/part1/U+1F77 NormalizationTest.txt ί␊ί␊ί Line 1037: GREEK SMALL LETTER IOTA WITH OXIA. Its distinct columns, one per line. 11 B
000986 unicode/part1/U+1F79 NormalizationTest.txt ό␊ό␊ό Line 1039: GREEK SMALL LETTER OMICRON WITH OXIA. Its distinct columns, one per line. 11 B
000988 unicode/part1/U+1F7B NormalizationTest.txt ύ␊ύ␊ύ Line 1041: GREEK SMALL LETTER UPSILON WITH OXIA. Its distinct columns, one per line. 11 B
000990 unicode/part1/U+1F7D NormalizationTest.txt ώ␊ώ␊ώ Line 1043: GREEK SMALL LETTER OMEGA WITH OXIA. Its distinct columns, one per line. 11 B
001049 unicode/part1/U+1FBB NormalizationTest.txt Ά␊Ά␊Ά Line 1102: GREEK CAPITAL LETTER ALPHA WITH OXIA. Its distinct columns, one per line. 11 B
001052 unicode/part1/U+1FBE NormalizationTest.txt ι␊ι Line 1105: GREEK PROSGEGRAMMENI. Its distinct columns, one per line. 6 B
001062 unicode/part1/U+1FC9 NormalizationTest.txt Έ␊Έ␊Έ Line 1115: GREEK CAPITAL LETTER EPSILON WITH OXIA. Its distinct columns, one per line. 11 B
001064 unicode/part1/U+1FCB NormalizationTest.txt Ή␊Ή␊Ή Line 1117: GREEK CAPITAL LETTER ETA WITH OXIA. Its distinct columns, one per line. 11 B
001072 unicode/part1/U+1FD3 NormalizationTest.txt ΐ␊ΐ␊ΐ Line 1125: GREEK SMALL LETTER IOTA WITH DIALYTIKA AND OXIA. Its distinct columns, one per line. 13 B
001078 unicode/part1/U+1FDB NormalizationTest.txt Ί␊Ί␊Ί Line 1131: GREEK CAPITAL LETTER IOTA WITH OXIA. Its distinct columns, one per line. 11 B
001085 unicode/part1/U+1FE3 NormalizationTest.txt ΰ␊ΰ␊ΰ Line 1138: GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND OXIA. Its distinct columns, one per line. 13 B
001093 unicode/part1/U+1FEB NormalizationTest.txt Ύ␊Ύ␊Ύ Line 1146: GREEK CAPITAL LETTER UPSILON WITH OXIA. Its distinct columns, one per line. 11 B
001096 unicode/part1/U+1FEE NormalizationTest.txt ΅␊΅␊΅␊ ̈́ Line 1149: GREEK DIALYTIKA AND OXIA. Its distinct columns, one per line. 17 B
001097 unicode/part1/U+1FEF NormalizationTest.txt `␊` Line 1150: GREEK VARIA. Its distinct columns, one per line. 5 B
001104 unicode/part1/U+1FF9 NormalizationTest.txt Ό␊Ό␊Ό Line 1157: GREEK CAPITAL LETTER OMICRON WITH OXIA. Its distinct columns, one per line. 11 B
001106 unicode/part1/U+1FFB NormalizationTest.txt Ώ␊Ώ␊Ώ Line 1159: GREEK CAPITAL LETTER OMEGA WITH OXIA. Its distinct columns, one per line. 11 B
001108 unicode/part1/U+1FFD NormalizationTest.txt ´␊´␊ ́ Line 1161: GREEK OXIA. Its distinct columns, one per line. 10 B
001110 unicode/part1/U+2000 NormalizationTest.txt  ␊ ␊ Line 1163: EN QUAD. Its distinct columns, one per line. 9 B
001111 unicode/part1/U+2001 NormalizationTest.txt  ␊ ␊ Line 1164: EM QUAD. Its distinct columns, one per line. 9 B
001210 unicode/part1/U+2126 NormalizationTest.txt Ω␊Ω Line 1263: OHM SIGN. Its distinct columns, one per line. 6 B
001212 unicode/part1/U+212A NormalizationTest.txt K␊K Line 1265: KELVIN SIGN. Its distinct columns, one per line. 5 B
001213 unicode/part1/U+212B NormalizationTest.txt Å␊Å␊Å Line 1266: ANGSTROM SIGN. Its distinct columns, one per line. 10 B
001334 unicode/part1/U+2329 NormalizationTest.txt 〈␊〈 Line 1387: LEFT-POINTING ANGLE BRACKET. Its distinct columns, one per line. 7 B
001335 unicode/part1/U+232A NormalizationTest.txt 〉␊〉 Line 1388: RIGHT-POINTING ANGLE BRACKET. Its distinct columns, one per line. 7 B
002390 unicode/part1/U+F900 NormalizationTest.txt 豈␊豈 Line 13615: CJK COMPATIBILITY IDEOGRAPH-F900. Its distinct columns, one per line. 7 B
002391 unicode/part1/U+F901 NormalizationTest.txt 更␊更 Line 13616: CJK COMPATIBILITY IDEOGRAPH-F901. Its distinct columns, one per line. 7 B
002392 unicode/part1/U+F902 NormalizationTest.txt 車␊車 Line 13617: CJK COMPATIBILITY IDEOGRAPH-F902. Its distinct columns, one per line. 7 B
002393 unicode/part1/U+F903 NormalizationTest.txt 賈␊賈 Line 13618: CJK COMPATIBILITY IDEOGRAPH-F903. Its distinct columns, one per line. 7 B
002394 unicode/part1/U+F904 NormalizationTest.txt 滑␊滑 Line 13619: CJK COMPATIBILITY IDEOGRAPH-F904. Its distinct columns, one per line. 7 B
002395 unicode/part1/U+F905 NormalizationTest.txt 串␊串 Line 13620: CJK COMPATIBILITY IDEOGRAPH-F905. Its distinct columns, one per line. 7 B
002396 unicode/part1/U+F906 NormalizationTest.txt 句␊句 Line 13621: CJK COMPATIBILITY IDEOGRAPH-F906. Its distinct columns, one per line. 7 B
002397 unicode/part1/U+F907 NormalizationTest.txt 龜␊龜 Line 13622: CJK COMPATIBILITY IDEOGRAPH-F907. Its distinct columns, one per line. 7 B
002398 unicode/part1/U+F908 NormalizationTest.txt 龜␊龜 Line 13623: CJK COMPATIBILITY IDEOGRAPH-F908. Its distinct columns, one per line. 7 B
002399 unicode/part1/U+F909 NormalizationTest.txt 契␊契 Line 13624: CJK COMPATIBILITY IDEOGRAPH-F909. Its distinct columns, one per line. 7 B
002400 unicode/part1/U+F90A NormalizationTest.txt 金␊金 Line 13625: CJK COMPATIBILITY IDEOGRAPH-F90A. Its distinct columns, one per line. 7 B
002401 unicode/part1/U+F90B NormalizationTest.txt 喇␊喇 Line 13626: CJK COMPATIBILITY IDEOGRAPH-F90B. Its distinct columns, one per line. 7 B
002402 unicode/part1/U+F90C NormalizationTest.txt 奈␊奈 Line 13627: CJK COMPATIBILITY IDEOGRAPH-F90C. Its distinct columns, one per line. 7 B
002403 unicode/part1/U+F90D NormalizationTest.txt 懶␊懶 Line 13628: CJK COMPATIBILITY IDEOGRAPH-F90D. Its distinct columns, one per line. 7 B
002404 unicode/part1/U+F90E NormalizationTest.txt 癩␊癩 Line 13629: CJK COMPATIBILITY IDEOGRAPH-F90E. Its distinct columns, one per line. 7 B
002405 unicode/part1/U+F90F NormalizationTest.txt 羅␊羅 Line 13630: CJK COMPATIBILITY IDEOGRAPH-F90F. Its distinct columns, one per line. 7 B
002406 unicode/part1/U+F910 NormalizationTest.txt 蘿␊蘿 Line 13631: CJK COMPATIBILITY IDEOGRAPH-F910. Its distinct columns, one per line. 7 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.