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
005279 unicode/part1/U+1F112 NormalizationTest.txt ๐Ÿ„’โŠ(C) Line 16504: PARENTHESIZED LATIN CAPITAL LETTER C. Its distinct columns, one per line. 8 B
005280 unicode/part1/U+1F113 NormalizationTest.txt ๐Ÿ„“โŠ(D) Line 16505: PARENTHESIZED LATIN CAPITAL LETTER D. Its distinct columns, one per line. 8 B
005281 unicode/part1/U+1F114 NormalizationTest.txt ๐Ÿ„”โŠ(E) Line 16506: PARENTHESIZED LATIN CAPITAL LETTER E. Its distinct columns, one per line. 8 B
005282 unicode/part1/U+1F115 NormalizationTest.txt ๐Ÿ„•โŠ(F) Line 16507: PARENTHESIZED LATIN CAPITAL LETTER F. Its distinct columns, one per line. 8 B
005283 unicode/part1/U+1F116 NormalizationTest.txt ๐Ÿ„–โŠ(G) Line 16508: PARENTHESIZED LATIN CAPITAL LETTER G. Its distinct columns, one per line. 8 B
005284 unicode/part1/U+1F117 NormalizationTest.txt ๐Ÿ„—โŠ(H) Line 16509: PARENTHESIZED LATIN CAPITAL LETTER H. Its distinct columns, one per line. 8 B
005285 unicode/part1/U+1F118 NormalizationTest.txt ๐Ÿ„˜โŠ(I) Line 16510: PARENTHESIZED LATIN CAPITAL LETTER I. Its distinct columns, one per line. 8 B
005286 unicode/part1/U+1F119 NormalizationTest.txt ๐Ÿ„™โŠ(J) Line 16511: PARENTHESIZED LATIN CAPITAL LETTER J. Its distinct columns, one per line. 8 B
005287 unicode/part1/U+1F11A NormalizationTest.txt ๐Ÿ„šโŠ(K) Line 16512: PARENTHESIZED LATIN CAPITAL LETTER K. Its distinct columns, one per line. 8 B
005288 unicode/part1/U+1F11B NormalizationTest.txt ๐Ÿ„›โŠ(L) Line 16513: PARENTHESIZED LATIN CAPITAL LETTER L. Its distinct columns, one per line. 8 B
005289 unicode/part1/U+1F11C NormalizationTest.txt ๐Ÿ„œโŠ(M) Line 16514: PARENTHESIZED LATIN CAPITAL LETTER M. Its distinct columns, one per line. 8 B
005290 unicode/part1/U+1F11D NormalizationTest.txt ๐Ÿ„โŠ(N) Line 16515: PARENTHESIZED LATIN CAPITAL LETTER N. Its distinct columns, one per line. 8 B
005291 unicode/part1/U+1F11E NormalizationTest.txt ๐Ÿ„žโŠ(O) Line 16516: PARENTHESIZED LATIN CAPITAL LETTER O. Its distinct columns, one per line. 8 B
005292 unicode/part1/U+1F11F NormalizationTest.txt ๐Ÿ„ŸโŠ(P) Line 16517: PARENTHESIZED LATIN CAPITAL LETTER P. Its distinct columns, one per line. 8 B
005293 unicode/part1/U+1F120 NormalizationTest.txt ๐Ÿ„ โŠ(Q) Line 16518: PARENTHESIZED LATIN CAPITAL LETTER Q. Its distinct columns, one per line. 8 B
005294 unicode/part1/U+1F121 NormalizationTest.txt ๐Ÿ„กโŠ(R) Line 16519: PARENTHESIZED LATIN CAPITAL LETTER R. Its distinct columns, one per line. 8 B
005295 unicode/part1/U+1F122 NormalizationTest.txt ๐Ÿ„ขโŠ(S) Line 16520: PARENTHESIZED LATIN CAPITAL LETTER S. Its distinct columns, one per line. 8 B
005296 unicode/part1/U+1F123 NormalizationTest.txt ๐Ÿ„ฃโŠ(T) Line 16521: PARENTHESIZED LATIN CAPITAL LETTER T. Its distinct columns, one per line. 8 B
005297 unicode/part1/U+1F124 NormalizationTest.txt ๐Ÿ„คโŠ(U) Line 16522: PARENTHESIZED LATIN CAPITAL LETTER U. Its distinct columns, one per line. 8 B
005298 unicode/part1/U+1F125 NormalizationTest.txt ๐Ÿ„ฅโŠ(V) Line 16523: PARENTHESIZED LATIN CAPITAL LETTER V. Its distinct columns, one per line. 8 B
005299 unicode/part1/U+1F126 NormalizationTest.txt ๐Ÿ„ฆโŠ(W) Line 16524: PARENTHESIZED LATIN CAPITAL LETTER W. Its distinct columns, one per line. 8 B
005300 unicode/part1/U+1F127 NormalizationTest.txt ๐Ÿ„งโŠ(X) Line 16525: PARENTHESIZED LATIN CAPITAL LETTER X. Its distinct columns, one per line. 8 B
005301 unicode/part1/U+1F128 NormalizationTest.txt ๐Ÿ„จโŠ(Y) Line 16526: PARENTHESIZED LATIN CAPITAL LETTER Y. Its distinct columns, one per line. 8 B
005302 unicode/part1/U+1F129 NormalizationTest.txt ๐Ÿ„ฉโŠ(Z) Line 16527: PARENTHESIZED LATIN CAPITAL LETTER Z. Its distinct columns, one per line. 8 B
005303 unicode/part1/U+1F12A NormalizationTest.txt ๐Ÿ„ชโŠใ€”Sใ€• Line 16528: TORTOISE SHELL BRACKETED LATIN CAPITAL LETTER S. Its distinct columns, one per line. 12 B
005304 unicode/part1/U+1F12B NormalizationTest.txt ๐Ÿ„ซโŠC Line 16529: CIRCLED ITALIC LATIN CAPITAL LETTER C. Its distinct columns, one per line. 6 B
005305 unicode/part1/U+1F12C NormalizationTest.txt ๐Ÿ„ฌโŠR Line 16530: CIRCLED ITALIC LATIN CAPITAL LETTER R. Its distinct columns, one per line. 6 B
005306 unicode/part1/U+1F12D NormalizationTest.txt ๐Ÿ„ญโŠCD Line 16531: CIRCLED CD. Its distinct columns, one per line. 7 B
005307 unicode/part1/U+1F12E NormalizationTest.txt ๐Ÿ„ฎโŠWZ Line 16532: CIRCLED WZ. Its distinct columns, one per line. 7 B
005308 unicode/part1/U+1F130 NormalizationTest.txt ๐Ÿ„ฐโŠA Line 16533: SQUARED LATIN CAPITAL LETTER A. Its distinct columns, one per line. 6 B
005309 unicode/part1/U+1F131 NormalizationTest.txt ๐Ÿ„ฑโŠB Line 16534: SQUARED LATIN CAPITAL LETTER B. Its distinct columns, one per line. 6 B
005310 unicode/part1/U+1F132 NormalizationTest.txt ๐Ÿ„ฒโŠC Line 16535: SQUARED LATIN CAPITAL LETTER C. Its distinct columns, one per line. 6 B
005311 unicode/part1/U+1F133 NormalizationTest.txt ๐Ÿ„ณโŠD Line 16536: SQUARED LATIN CAPITAL LETTER D. Its distinct columns, one per line. 6 B
005312 unicode/part1/U+1F134 NormalizationTest.txt ๐Ÿ„ดโŠE Line 16537: SQUARED LATIN CAPITAL LETTER E. Its distinct columns, one per line. 6 B
005313 unicode/part1/U+1F135 NormalizationTest.txt ๐Ÿ„ตโŠF Line 16538: SQUARED LATIN CAPITAL LETTER F. Its distinct columns, one per line. 6 B
005314 unicode/part1/U+1F136 NormalizationTest.txt ๐Ÿ„ถโŠG Line 16539: SQUARED LATIN CAPITAL LETTER G. Its distinct columns, one per line. 6 B
005315 unicode/part1/U+1F137 NormalizationTest.txt ๐Ÿ„ทโŠH Line 16540: SQUARED LATIN CAPITAL LETTER H. Its distinct columns, one per line. 6 B
005316 unicode/part1/U+1F138 NormalizationTest.txt ๐Ÿ„ธโŠI Line 16541: SQUARED LATIN CAPITAL LETTER I. Its distinct columns, one per line. 6 B
005317 unicode/part1/U+1F139 NormalizationTest.txt ๐Ÿ„นโŠJ Line 16542: SQUARED LATIN CAPITAL LETTER J. Its distinct columns, one per line. 6 B
005318 unicode/part1/U+1F13A NormalizationTest.txt ๐Ÿ„บโŠK Line 16543: SQUARED LATIN CAPITAL LETTER K. Its distinct columns, one per line. 6 B
005319 unicode/part1/U+1F13B NormalizationTest.txt ๐Ÿ„ปโŠL Line 16544: SQUARED LATIN CAPITAL LETTER L. Its distinct columns, one per line. 6 B
005320 unicode/part1/U+1F13C NormalizationTest.txt ๐Ÿ„ผโŠM Line 16545: SQUARED LATIN CAPITAL LETTER M. Its distinct columns, one per line. 6 B
005321 unicode/part1/U+1F13D NormalizationTest.txt ๐Ÿ„ฝโŠN Line 16546: SQUARED LATIN CAPITAL LETTER N. Its distinct columns, one per line. 6 B
005322 unicode/part1/U+1F13E NormalizationTest.txt ๐Ÿ„พโŠO Line 16547: SQUARED LATIN CAPITAL LETTER O. Its distinct columns, one per line. 6 B
005323 unicode/part1/U+1F13F NormalizationTest.txt ๐Ÿ„ฟโŠP Line 16548: SQUARED LATIN CAPITAL LETTER P. Its distinct columns, one per line. 6 B
005324 unicode/part1/U+1F140 NormalizationTest.txt ๐Ÿ…€โŠQ Line 16549: SQUARED LATIN CAPITAL LETTER Q. Its distinct columns, one per line. 6 B
005325 unicode/part1/U+1F141 NormalizationTest.txt ๐Ÿ…โŠR Line 16550: SQUARED LATIN CAPITAL LETTER R. Its distinct columns, one per line. 6 B
005326 unicode/part1/U+1F142 NormalizationTest.txt ๐Ÿ…‚โŠS Line 16551: SQUARED LATIN CAPITAL LETTER S. Its distinct columns, one per line. 6 B
005327 unicode/part1/U+1F143 NormalizationTest.txt ๐Ÿ…ƒโŠT Line 16552: SQUARED LATIN CAPITAL LETTER T. Its distinct columns, one per line. 6 B
005328 unicode/part1/U+1F144 NormalizationTest.txt ๐Ÿ…„โŠU Line 16553: SQUARED LATIN CAPITAL LETTER U. 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.