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

3,833 of 11,911 cases

Case Name Expected Note Size
003935 unicode/part1/U+10785 NormalizationTest.txt ๐ž…โŠษ“ Line 15160: MODIFIER LETTER SMALL B WITH HOOK. Its distinct columns, one per line. 7 B
003936 unicode/part1/U+10787 NormalizationTest.txt ๐ž‡โŠสฃ Line 15161: MODIFIER LETTER SMALL DZ DIGRAPH. Its distinct columns, one per line. 7 B
003937 unicode/part1/U+10788 NormalizationTest.txt ๐žˆโŠ๊ญฆ Line 15162: MODIFIER LETTER SMALL DZ DIGRAPH WITH RETROFLEX HOOK. Its distinct columns, one per line. 8 B
003938 unicode/part1/U+10789 NormalizationTest.txt ๐ž‰โŠสฅ Line 15163: MODIFIER LETTER SMALL DZ DIGRAPH WITH CURL. Its distinct columns, one per line. 7 B
003939 unicode/part1/U+1078A NormalizationTest.txt ๐žŠโŠสค Line 15164: MODIFIER LETTER SMALL DEZH DIGRAPH. Its distinct columns, one per line. 7 B
003940 unicode/part1/U+1078B NormalizationTest.txt ๐ž‹โŠษ– Line 15165: MODIFIER LETTER SMALL D WITH TAIL. Its distinct columns, one per line. 7 B
003941 unicode/part1/U+1078C NormalizationTest.txt ๐žŒโŠษ— Line 15166: MODIFIER LETTER SMALL D WITH HOOK. Its distinct columns, one per line. 7 B
003942 unicode/part1/U+1078D NormalizationTest.txt ๐žโŠแถ‘ Line 15167: MODIFIER LETTER SMALL D WITH HOOK AND TAIL. Its distinct columns, one per line. 8 B
003943 unicode/part1/U+1078E NormalizationTest.txt ๐žŽโŠษ˜ Line 15168: MODIFIER LETTER SMALL REVERSED E. Its distinct columns, one per line. 7 B
003944 unicode/part1/U+1078F NormalizationTest.txt ๐žโŠษž Line 15169: MODIFIER LETTER SMALL CLOSED REVERSED OPEN E. Its distinct columns, one per line. 7 B
003945 unicode/part1/U+10790 NormalizationTest.txt ๐žโŠสฉ Line 15170: MODIFIER LETTER SMALL FENG DIGRAPH. Its distinct columns, one per line. 7 B
003946 unicode/part1/U+10791 NormalizationTest.txt ๐ž‘โŠษค Line 15171: MODIFIER LETTER SMALL RAMS HORN. Its distinct columns, one per line. 7 B
003947 unicode/part1/U+10792 NormalizationTest.txt ๐ž’โŠษข Line 15172: MODIFIER LETTER SMALL CAPITAL G. Its distinct columns, one per line. 7 B
003948 unicode/part1/U+10793 NormalizationTest.txt ๐ž“โŠษ  Line 15173: MODIFIER LETTER SMALL G WITH HOOK. Its distinct columns, one per line. 7 B
003949 unicode/part1/U+10794 NormalizationTest.txt ๐ž”โŠส› Line 15174: MODIFIER LETTER SMALL CAPITAL G WITH HOOK. Its distinct columns, one per line. 7 B
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

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.