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
004000 unicode/part1/U+113C8 NormalizationTest.txt ๐‘ˆโŠ๐‘ˆ Line 15225: TULU-TIGALARI VOWEL SIGN AU. Its distinct columns, one per line. 13 B
004001 unicode/part1/U+114BB NormalizationTest.txt ๐‘’ปโŠ๐‘’ป Line 15226: TIRHUTA VOWEL SIGN AI. Its distinct columns, one per line. 13 B
004002 unicode/part1/U+114BC NormalizationTest.txt ๐‘’ผโŠ๐‘’ผ Line 15227: TIRHUTA VOWEL SIGN O. Its distinct columns, one per line. 13 B
004003 unicode/part1/U+114BE NormalizationTest.txt ๐‘’พโŠ๐‘’พ Line 15228: TIRHUTA VOWEL SIGN AU. Its distinct columns, one per line. 13 B
004004 unicode/part1/U+115BA NormalizationTest.txt ๐‘–บโŠ๐‘–บ Line 15229: SIDDHAM VOWEL SIGN O. Its distinct columns, one per line. 13 B
004005 unicode/part1/U+115BB NormalizationTest.txt ๐‘–ปโŠ๐‘–ป Line 15230: SIDDHAM VOWEL SIGN AU. Its distinct columns, one per line. 13 B
004006 unicode/part1/U+11938 NormalizationTest.txt ๐‘คธโŠ๐‘คธ Line 15231: DIVES AKURU VOWEL SIGN O. Its distinct columns, one per line. 13 B
004007 unicode/part1/U+16121 NormalizationTest.txt ๐–„กโŠ๐–„ก Line 15232: GURUNG KHEMA VOWEL SIGN U. Its distinct columns, one per line. 13 B
004008 unicode/part1/U+16122 NormalizationTest.txt ๐–„ขโŠ๐–„ข Line 15233: GURUNG KHEMA VOWEL SIGN UU. Its distinct columns, one per line. 13 B
004009 unicode/part1/U+16123 NormalizationTest.txt ๐–„ฃโŠ๐–„ฃ Line 15234: GURUNG KHEMA VOWEL SIGN E. Its distinct columns, one per line. 13 B
004010 unicode/part1/U+16124 NormalizationTest.txt ๐–„คโŠ๐–„ค Line 15235: GURUNG KHEMA VOWEL SIGN EE. Its distinct columns, one per line. 13 B
004011 unicode/part1/U+16125 NormalizationTest.txt ๐–„ฅโŠ๐–„ฅ Line 15236: GURUNG KHEMA VOWEL SIGN AI. Its distinct columns, one per line. 13 B
004012 unicode/part1/U+16126 NormalizationTest.txt ๐–„ฆโŠ๐–„ฆ Line 15237: GURUNG KHEMA VOWEL SIGN O. Its distinct columns, one per line. 17 B
004013 unicode/part1/U+16127 NormalizationTest.txt ๐–„งโŠ๐–„ง Line 15238: GURUNG KHEMA VOWEL SIGN OO. Its distinct columns, one per line. 17 B
004014 unicode/part1/U+16128 NormalizationTest.txt ๐–„จโŠ๐–„จ Line 15239: GURUNG KHEMA VOWEL SIGN AU. Its distinct columns, one per line. 17 B
004015 unicode/part1/U+16D68 NormalizationTest.txt ๐–ตจโŠ๐–ตจ Line 15240: KIRAT RAI VOWEL SIGN AI. Its distinct columns, one per line. 13 B
004016 unicode/part1/U+16D69 NormalizationTest.txt ๐–ตฉโŠ๐–ตฉ Line 15241: KIRAT RAI VOWEL SIGN O. Its distinct columns, one per line. 13 B
004017 unicode/part1/U+16D6A NormalizationTest.txt ๐–ตชโŠ๐–ตช Line 15242: KIRAT RAI VOWEL SIGN AU. Its distinct columns, one per line. 17 B
004018 unicode/part1/U+1CCD6 NormalizationTest.txt ๐œณ–โŠA Line 15243: OUTLINED LATIN CAPITAL LETTER A. Its distinct columns, one per line. 6 B
004019 unicode/part1/U+1CCD7 NormalizationTest.txt ๐œณ—โŠB Line 15244: OUTLINED LATIN CAPITAL LETTER B. Its distinct columns, one per line. 6 B
004020 unicode/part1/U+1CCD8 NormalizationTest.txt ๐œณ˜โŠC Line 15245: OUTLINED LATIN CAPITAL LETTER C. Its distinct columns, one per line. 6 B
004021 unicode/part1/U+1CCD9 NormalizationTest.txt ๐œณ™โŠD Line 15246: OUTLINED LATIN CAPITAL LETTER D. Its distinct columns, one per line. 6 B
004022 unicode/part1/U+1CCDA NormalizationTest.txt ๐œณšโŠE Line 15247: OUTLINED LATIN CAPITAL LETTER E. Its distinct columns, one per line. 6 B
004023 unicode/part1/U+1CCDB NormalizationTest.txt ๐œณ›โŠF Line 15248: OUTLINED LATIN CAPITAL LETTER F. Its distinct columns, one per line. 6 B
004024 unicode/part1/U+1CCDC NormalizationTest.txt ๐œณœโŠG Line 15249: OUTLINED LATIN CAPITAL LETTER G. Its distinct columns, one per line. 6 B
004025 unicode/part1/U+1CCDD NormalizationTest.txt ๐œณโŠH Line 15250: OUTLINED LATIN CAPITAL LETTER H. Its distinct columns, one per line. 6 B
004026 unicode/part1/U+1CCDE NormalizationTest.txt ๐œณžโŠI Line 15251: OUTLINED LATIN CAPITAL LETTER I. Its distinct columns, one per line. 6 B
004027 unicode/part1/U+1CCDF NormalizationTest.txt ๐œณŸโŠJ Line 15252: OUTLINED LATIN CAPITAL LETTER J. Its distinct columns, one per line. 6 B
004028 unicode/part1/U+1CCE0 NormalizationTest.txt ๐œณ โŠK Line 15253: OUTLINED LATIN CAPITAL LETTER K. Its distinct columns, one per line. 6 B
004029 unicode/part1/U+1CCE1 NormalizationTest.txt ๐œณกโŠL Line 15254: OUTLINED LATIN CAPITAL LETTER L. Its distinct columns, one per line. 6 B
004030 unicode/part1/U+1CCE2 NormalizationTest.txt ๐œณขโŠM Line 15255: OUTLINED LATIN CAPITAL LETTER M. Its distinct columns, one per line. 6 B
004031 unicode/part1/U+1CCE3 NormalizationTest.txt ๐œณฃโŠN Line 15256: OUTLINED LATIN CAPITAL LETTER N. Its distinct columns, one per line. 6 B
004032 unicode/part1/U+1CCE4 NormalizationTest.txt ๐œณคโŠO Line 15257: OUTLINED LATIN CAPITAL LETTER O. Its distinct columns, one per line. 6 B
004033 unicode/part1/U+1CCE5 NormalizationTest.txt ๐œณฅโŠP Line 15258: OUTLINED LATIN CAPITAL LETTER P. Its distinct columns, one per line. 6 B
004034 unicode/part1/U+1CCE6 NormalizationTest.txt ๐œณฆโŠQ Line 15259: OUTLINED LATIN CAPITAL LETTER Q. Its distinct columns, one per line. 6 B
004035 unicode/part1/U+1CCE7 NormalizationTest.txt ๐œณงโŠR Line 15260: OUTLINED LATIN CAPITAL LETTER R. Its distinct columns, one per line. 6 B
004036 unicode/part1/U+1CCE8 NormalizationTest.txt ๐œณจโŠS Line 15261: OUTLINED LATIN CAPITAL LETTER S. Its distinct columns, one per line. 6 B
004037 unicode/part1/U+1CCE9 NormalizationTest.txt ๐œณฉโŠT Line 15262: OUTLINED LATIN CAPITAL LETTER T. Its distinct columns, one per line. 6 B
004038 unicode/part1/U+1CCEA NormalizationTest.txt ๐œณชโŠU Line 15263: OUTLINED LATIN CAPITAL LETTER U. Its distinct columns, one per line. 6 B
004039 unicode/part1/U+1CCEB NormalizationTest.txt ๐œณซโŠV Line 15264: OUTLINED LATIN CAPITAL LETTER V. Its distinct columns, one per line. 6 B
004040 unicode/part1/U+1CCEC NormalizationTest.txt ๐œณฌโŠW Line 15265: OUTLINED LATIN CAPITAL LETTER W. Its distinct columns, one per line. 6 B
004041 unicode/part1/U+1CCED NormalizationTest.txt ๐œณญโŠX Line 15266: OUTLINED LATIN CAPITAL LETTER X. Its distinct columns, one per line. 6 B
004042 unicode/part1/U+1CCEE NormalizationTest.txt ๐œณฎโŠY Line 15267: OUTLINED LATIN CAPITAL LETTER Y. Its distinct columns, one per line. 6 B
004043 unicode/part1/U+1CCEF NormalizationTest.txt ๐œณฏโŠZ Line 15268: OUTLINED LATIN CAPITAL LETTER Z. Its distinct columns, one per line. 6 B
004044 unicode/part1/U+1CCF0 NormalizationTest.txt ๐œณฐโŠ0 Line 15269: OUTLINED DIGIT ZERO. Its distinct columns, one per line. 6 B
004045 unicode/part1/U+1CCF1 NormalizationTest.txt ๐œณฑโŠ1 Line 15270: OUTLINED DIGIT ONE. Its distinct columns, one per line. 6 B
004046 unicode/part1/U+1CCF2 NormalizationTest.txt ๐œณฒโŠ2 Line 15271: OUTLINED DIGIT TWO. Its distinct columns, one per line. 6 B
004047 unicode/part1/U+1CCF3 NormalizationTest.txt ๐œณณโŠ3 Line 15272: OUTLINED DIGIT THREE. Its distinct columns, one per line. 6 B
004048 unicode/part1/U+1CCF4 NormalizationTest.txt ๐œณดโŠ4 Line 15273: OUTLINED DIGIT FOUR. Its distinct columns, one per line. 6 B
004049 unicode/part1/U+1CCF5 NormalizationTest.txt ๐œณตโŠ5 Line 15274: OUTLINED DIGIT FIVE. Its distinct columns, one per line. 6 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.