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
005250 unicode/part1/U+1EEAC NormalizationTest.txt ๐žบฌโŠู… Line 16475: ARABIC MATHEMATICAL DOUBLE-STRUCK MEEM. Its distinct columns, one per line. 7 B
005251 unicode/part1/U+1EEAD NormalizationTest.txt ๐žบญโŠู† Line 16476: ARABIC MATHEMATICAL DOUBLE-STRUCK NOON. Its distinct columns, one per line. 7 B
005252 unicode/part1/U+1EEAE NormalizationTest.txt ๐žบฎโŠุณ Line 16477: ARABIC MATHEMATICAL DOUBLE-STRUCK SEEN. Its distinct columns, one per line. 7 B
005253 unicode/part1/U+1EEAF NormalizationTest.txt ๐žบฏโŠุน Line 16478: ARABIC MATHEMATICAL DOUBLE-STRUCK AIN. Its distinct columns, one per line. 7 B
005254 unicode/part1/U+1EEB0 NormalizationTest.txt ๐žบฐโŠู Line 16479: ARABIC MATHEMATICAL DOUBLE-STRUCK FEH. Its distinct columns, one per line. 7 B
005255 unicode/part1/U+1EEB1 NormalizationTest.txt ๐žบฑโŠุต Line 16480: ARABIC MATHEMATICAL DOUBLE-STRUCK SAD. Its distinct columns, one per line. 7 B
005256 unicode/part1/U+1EEB2 NormalizationTest.txt ๐žบฒโŠู‚ Line 16481: ARABIC MATHEMATICAL DOUBLE-STRUCK QAF. Its distinct columns, one per line. 7 B
005257 unicode/part1/U+1EEB3 NormalizationTest.txt ๐žบณโŠุฑ Line 16482: ARABIC MATHEMATICAL DOUBLE-STRUCK REH. Its distinct columns, one per line. 7 B
005258 unicode/part1/U+1EEB4 NormalizationTest.txt ๐žบดโŠุด Line 16483: ARABIC MATHEMATICAL DOUBLE-STRUCK SHEEN. Its distinct columns, one per line. 7 B
005259 unicode/part1/U+1EEB5 NormalizationTest.txt ๐žบตโŠุช Line 16484: ARABIC MATHEMATICAL DOUBLE-STRUCK TEH. Its distinct columns, one per line. 7 B
005260 unicode/part1/U+1EEB6 NormalizationTest.txt ๐žบถโŠุซ Line 16485: ARABIC MATHEMATICAL DOUBLE-STRUCK THEH. Its distinct columns, one per line. 7 B
005261 unicode/part1/U+1EEB7 NormalizationTest.txt ๐žบทโŠุฎ Line 16486: ARABIC MATHEMATICAL DOUBLE-STRUCK KHAH. Its distinct columns, one per line. 7 B
005262 unicode/part1/U+1EEB8 NormalizationTest.txt ๐žบธโŠุฐ Line 16487: ARABIC MATHEMATICAL DOUBLE-STRUCK THAL. Its distinct columns, one per line. 7 B
005263 unicode/part1/U+1EEB9 NormalizationTest.txt ๐žบนโŠุถ Line 16488: ARABIC MATHEMATICAL DOUBLE-STRUCK DAD. Its distinct columns, one per line. 7 B
005264 unicode/part1/U+1EEBA NormalizationTest.txt ๐žบบโŠุธ Line 16489: ARABIC MATHEMATICAL DOUBLE-STRUCK ZAH. Its distinct columns, one per line. 7 B
005265 unicode/part1/U+1EEBB NormalizationTest.txt ๐žบปโŠุบ Line 16490: ARABIC MATHEMATICAL DOUBLE-STRUCK GHAIN. Its distinct columns, one per line. 7 B
005266 unicode/part1/U+1F100 NormalizationTest.txt ๐Ÿ„€โŠ0. Line 16491: DIGIT ZERO FULL STOP. Its distinct columns, one per line. 7 B
005267 unicode/part1/U+1F101 NormalizationTest.txt ๐Ÿ„โŠ0, Line 16492: DIGIT ZERO COMMA. Its distinct columns, one per line. 7 B
005268 unicode/part1/U+1F102 NormalizationTest.txt ๐Ÿ„‚โŠ1, Line 16493: DIGIT ONE COMMA. Its distinct columns, one per line. 7 B
005269 unicode/part1/U+1F103 NormalizationTest.txt ๐Ÿ„ƒโŠ2, Line 16494: DIGIT TWO COMMA. Its distinct columns, one per line. 7 B
005270 unicode/part1/U+1F104 NormalizationTest.txt ๐Ÿ„„โŠ3, Line 16495: DIGIT THREE COMMA. Its distinct columns, one per line. 7 B
005271 unicode/part1/U+1F105 NormalizationTest.txt ๐Ÿ„…โŠ4, Line 16496: DIGIT FOUR COMMA. Its distinct columns, one per line. 7 B
005272 unicode/part1/U+1F106 NormalizationTest.txt ๐Ÿ„†โŠ5, Line 16497: DIGIT FIVE COMMA. Its distinct columns, one per line. 7 B
005273 unicode/part1/U+1F107 NormalizationTest.txt ๐Ÿ„‡โŠ6, Line 16498: DIGIT SIX COMMA. Its distinct columns, one per line. 7 B
005274 unicode/part1/U+1F108 NormalizationTest.txt ๐Ÿ„ˆโŠ7, Line 16499: DIGIT SEVEN COMMA. Its distinct columns, one per line. 7 B
005275 unicode/part1/U+1F109 NormalizationTest.txt ๐Ÿ„‰โŠ8, Line 16500: DIGIT EIGHT COMMA. Its distinct columns, one per line. 7 B
005276 unicode/part1/U+1F10A NormalizationTest.txt ๐Ÿ„ŠโŠ9, Line 16501: DIGIT NINE COMMA. Its distinct columns, one per line. 7 B
005277 unicode/part1/U+1F110 NormalizationTest.txt ๐Ÿ„โŠ(A) Line 16502: PARENTHESIZED LATIN CAPITAL LETTER A. Its distinct columns, one per line. 8 B
005278 unicode/part1/U+1F111 NormalizationTest.txt ๐Ÿ„‘โŠ(B) Line 16503: PARENTHESIZED LATIN CAPITAL LETTER B. Its distinct columns, one per line. 8 B
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

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.