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
003950 unicode/part1/U+10795 NormalizationTest.txt ๐ž•โŠฤง Line 15175: MODIFIER LETTER SMALL H WITH STROKE. Its distinct columns, one per line. 7 B
003951 unicode/part1/U+10796 NormalizationTest.txt ๐ž–โŠสœ Line 15176: MODIFIER LETTER SMALL CAPITAL H. Its distinct columns, one per line. 7 B
003952 unicode/part1/U+10797 NormalizationTest.txt ๐ž—โŠษง Line 15177: MODIFIER LETTER SMALL HENG WITH HOOK. Its distinct columns, one per line. 7 B
003953 unicode/part1/U+10798 NormalizationTest.txt ๐ž˜โŠส„ Line 15178: MODIFIER LETTER SMALL DOTLESS J WITH STROKE AND HOOK. Its distinct columns, one per line. 7 B
003954 unicode/part1/U+10799 NormalizationTest.txt ๐ž™โŠสช Line 15179: MODIFIER LETTER SMALL LS DIGRAPH. Its distinct columns, one per line. 7 B
003955 unicode/part1/U+1079A NormalizationTest.txt ๐žšโŠสซ Line 15180: MODIFIER LETTER SMALL LZ DIGRAPH. Its distinct columns, one per line. 7 B
003956 unicode/part1/U+1079B NormalizationTest.txt ๐ž›โŠษฌ Line 15181: MODIFIER LETTER SMALL L WITH BELT. Its distinct columns, one per line. 7 B
003957 unicode/part1/U+1079C NormalizationTest.txt ๐žœโŠ๐ผ„ Line 15182: MODIFIER LETTER SMALL CAPITAL L WITH BELT. Its distinct columns, one per line. 9 B
003958 unicode/part1/U+1079D NormalizationTest.txt ๐žโŠ๊žŽ Line 15183: MODIFIER LETTER SMALL L WITH RETROFLEX HOOK AND BELT. Its distinct columns, one per line. 8 B
003959 unicode/part1/U+1079E NormalizationTest.txt ๐žžโŠษฎ Line 15184: MODIFIER LETTER SMALL LEZH. Its distinct columns, one per line. 7 B
003960 unicode/part1/U+1079F NormalizationTest.txt ๐žŸโŠ๐ผ… Line 15185: MODIFIER LETTER SMALL LEZH WITH RETROFLEX HOOK. Its distinct columns, one per line. 9 B
003961 unicode/part1/U+107A0 NormalizationTest.txt ๐ž โŠสŽ Line 15186: MODIFIER LETTER SMALL TURNED Y. Its distinct columns, one per line. 7 B
003962 unicode/part1/U+107A1 NormalizationTest.txt ๐žกโŠ๐ผ† Line 15187: MODIFIER LETTER SMALL TURNED Y WITH BELT. Its distinct columns, one per line. 9 B
003963 unicode/part1/U+107A2 NormalizationTest.txt ๐žขโŠรธ Line 15188: MODIFIER LETTER SMALL O WITH STROKE. Its distinct columns, one per line. 7 B
003964 unicode/part1/U+107A3 NormalizationTest.txt ๐žฃโŠษถ Line 15189: MODIFIER LETTER SMALL CAPITAL OE. Its distinct columns, one per line. 7 B
003965 unicode/part1/U+107A4 NormalizationTest.txt ๐žคโŠษท Line 15190: MODIFIER LETTER SMALL CLOSED OMEGA. Its distinct columns, one per line. 7 B
003966 unicode/part1/U+107A5 NormalizationTest.txt ๐žฅโŠq Line 15191: MODIFIER LETTER SMALL Q. Its distinct columns, one per line. 6 B
003967 unicode/part1/U+107A6 NormalizationTest.txt ๐žฆโŠษบ Line 15192: MODIFIER LETTER SMALL TURNED R WITH LONG LEG. Its distinct columns, one per line. 7 B
003968 unicode/part1/U+107A7 NormalizationTest.txt ๐žงโŠ๐ผˆ Line 15193: MODIFIER LETTER SMALL TURNED R WITH LONG LEG AND RETROFLEX HOOK. Its distinct columns, one per line. 9 B
003969 unicode/part1/U+107A8 NormalizationTest.txt ๐žจโŠษฝ Line 15194: MODIFIER LETTER SMALL R WITH TAIL. Its distinct columns, one per line. 7 B
003970 unicode/part1/U+107A9 NormalizationTest.txt ๐žฉโŠษพ Line 15195: MODIFIER LETTER SMALL R WITH FISHHOOK. Its distinct columns, one per line. 7 B
003971 unicode/part1/U+107AA NormalizationTest.txt ๐žชโŠส€ Line 15196: MODIFIER LETTER SMALL CAPITAL R. Its distinct columns, one per line. 7 B
003972 unicode/part1/U+107AB NormalizationTest.txt ๐žซโŠสจ Line 15197: MODIFIER LETTER SMALL TC DIGRAPH WITH CURL. Its distinct columns, one per line. 7 B
003973 unicode/part1/U+107AC NormalizationTest.txt ๐žฌโŠสฆ Line 15198: MODIFIER LETTER SMALL TS DIGRAPH. Its distinct columns, one per line. 7 B
003974 unicode/part1/U+107AD NormalizationTest.txt ๐žญโŠ๊ญง Line 15199: MODIFIER LETTER SMALL TS DIGRAPH WITH RETROFLEX HOOK. Its distinct columns, one per line. 8 B
003975 unicode/part1/U+107AE NormalizationTest.txt ๐žฎโŠสง Line 15200: MODIFIER LETTER SMALL TESH DIGRAPH. Its distinct columns, one per line. 7 B
003976 unicode/part1/U+107AF NormalizationTest.txt ๐žฏโŠสˆ Line 15201: MODIFIER LETTER SMALL T WITH RETROFLEX HOOK. Its distinct columns, one per line. 7 B
003977 unicode/part1/U+107B0 NormalizationTest.txt ๐žฐโŠโฑฑ Line 15202: MODIFIER LETTER SMALL V WITH RIGHT HOOK. Its distinct columns, one per line. 8 B
003978 unicode/part1/U+107B2 NormalizationTest.txt ๐žฒโŠส Line 15203: MODIFIER LETTER SMALL CAPITAL Y. Its distinct columns, one per line. 7 B
003979 unicode/part1/U+107B3 NormalizationTest.txt ๐žณโŠสก Line 15204: MODIFIER LETTER GLOTTAL STOP WITH STROKE. Its distinct columns, one per line. 7 B
003980 unicode/part1/U+107B4 NormalizationTest.txt ๐žดโŠสข Line 15205: MODIFIER LETTER REVERSED GLOTTAL STOP WITH STROKE. Its distinct columns, one per line. 7 B
003981 unicode/part1/U+107B5 NormalizationTest.txt ๐žตโŠส˜ Line 15206: MODIFIER LETTER BILABIAL CLICK. Its distinct columns, one per line. 7 B
003982 unicode/part1/U+107B6 NormalizationTest.txt ๐žถโŠว€ Line 15207: MODIFIER LETTER DENTAL CLICK. Its distinct columns, one per line. 7 B
003983 unicode/part1/U+107B7 NormalizationTest.txt ๐žทโŠว Line 15208: MODIFIER LETTER LATERAL CLICK. Its distinct columns, one per line. 7 B
003984 unicode/part1/U+107B8 NormalizationTest.txt ๐žธโŠว‚ Line 15209: MODIFIER LETTER ALVEOLAR CLICK. Its distinct columns, one per line. 7 B
003985 unicode/part1/U+107B9 NormalizationTest.txt ๐žนโŠ๐ผŠ Line 15210: MODIFIER LETTER RETROFLEX CLICK WITH RETROFLEX HOOK. Its distinct columns, one per line. 9 B
003986 unicode/part1/U+107BA NormalizationTest.txt ๐žบโŠ๐ผž Line 15211: MODIFIER LETTER SMALL S WITH CURL. Its distinct columns, one per line. 9 B
003987 unicode/part1/U+1109A NormalizationTest.txt ๐‘‚šโŠ๐‘‚š Line 15212: KAITHI LETTER DDDHA. Its distinct columns, one per line. 13 B
003988 unicode/part1/U+1109C NormalizationTest.txt ๐‘‚œโŠ๐‘‚œ Line 15213: KAITHI LETTER RHA. Its distinct columns, one per line. 13 B
003989 unicode/part1/U+110AB NormalizationTest.txt ๐‘‚ซโŠ๐‘‚ซ Line 15214: KAITHI LETTER VA. Its distinct columns, one per line. 13 B
003990 unicode/part1/U+1112E NormalizationTest.txt ๐‘„ฎโŠ๐‘„ฎ Line 15215: CHAKMA VOWEL SIGN O. Its distinct columns, one per line. 13 B
003991 unicode/part1/U+1112F NormalizationTest.txt ๐‘„ฏโŠ๐‘„ฏ Line 15216: CHAKMA VOWEL SIGN AU. Its distinct columns, one per line. 13 B
003992 unicode/part1/U+1134B NormalizationTest.txt ๐‘‹โŠ๐‘‹ Line 15217: GRANTHA VOWEL SIGN OO. Its distinct columns, one per line. 13 B
003993 unicode/part1/U+1134C NormalizationTest.txt ๐‘ŒโŠ๐‘Œ Line 15218: GRANTHA VOWEL SIGN AU. Its distinct columns, one per line. 13 B
003994 unicode/part1/U+11383 NormalizationTest.txt ๐‘ŽƒโŠ๐‘Žƒ Line 15219: TULU-TIGALARI LETTER II. Its distinct columns, one per line. 13 B
003995 unicode/part1/U+11385 NormalizationTest.txt ๐‘Ž…โŠ๐‘Ž… Line 15220: TULU-TIGALARI LETTER UU. Its distinct columns, one per line. 13 B
003996 unicode/part1/U+1138E NormalizationTest.txt ๐‘ŽŽโŠ๐‘ŽŽ Line 15221: TULU-TIGALARI LETTER AI. Its distinct columns, one per line. 13 B
003997 unicode/part1/U+11391 NormalizationTest.txt ๐‘Ž‘โŠ๐‘Ž‘ Line 15222: TULU-TIGALARI LETTER AU. Its distinct columns, one per line. 13 B
003998 unicode/part1/U+113C5 NormalizationTest.txt ๐‘…โŠ๐‘… Line 15223: TULU-TIGALARI VOWEL SIGN AI. Its distinct columns, one per line. 13 B
003999 unicode/part1/U+113C7 NormalizationTest.txt ๐‘‡โŠ๐‘‡ Line 15224: TULU-TIGALARI VOWEL SIGN OO. Its distinct columns, one per line. 13 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.