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
001430 unicode/part1/U+24BE NormalizationTest.txt Ⓘ␊I Line 1483: CIRCLED LATIN CAPITAL LETTER I. Its distinct columns, one per line. 5 B
001431 unicode/part1/U+24BF NormalizationTest.txt Ⓙ␊J Line 1484: CIRCLED LATIN CAPITAL LETTER J. Its distinct columns, one per line. 5 B
001432 unicode/part1/U+24C0 NormalizationTest.txt Ⓚ␊K Line 1485: CIRCLED LATIN CAPITAL LETTER K. Its distinct columns, one per line. 5 B
001433 unicode/part1/U+24C1 NormalizationTest.txt Ⓛ␊L Line 1486: CIRCLED LATIN CAPITAL LETTER L. Its distinct columns, one per line. 5 B
001434 unicode/part1/U+24C2 NormalizationTest.txt Ⓜ␊M Line 1487: CIRCLED LATIN CAPITAL LETTER M. Its distinct columns, one per line. 5 B
001435 unicode/part1/U+24C3 NormalizationTest.txt Ⓝ␊N Line 1488: CIRCLED LATIN CAPITAL LETTER N. Its distinct columns, one per line. 5 B
001436 unicode/part1/U+24C4 NormalizationTest.txt Ⓞ␊O Line 1489: CIRCLED LATIN CAPITAL LETTER O. Its distinct columns, one per line. 5 B
001437 unicode/part1/U+24C5 NormalizationTest.txt Ⓟ␊P Line 1490: CIRCLED LATIN CAPITAL LETTER P. Its distinct columns, one per line. 5 B
001438 unicode/part1/U+24C6 NormalizationTest.txt Ⓠ␊Q Line 1491: CIRCLED LATIN CAPITAL LETTER Q. Its distinct columns, one per line. 5 B
001439 unicode/part1/U+24C7 NormalizationTest.txt Ⓡ␊R Line 1492: CIRCLED LATIN CAPITAL LETTER R. Its distinct columns, one per line. 5 B
001440 unicode/part1/U+24C8 NormalizationTest.txt Ⓢ␊S Line 1493: CIRCLED LATIN CAPITAL LETTER S. Its distinct columns, one per line. 5 B
001441 unicode/part1/U+24C9 NormalizationTest.txt Ⓣ␊T Line 1494: CIRCLED LATIN CAPITAL LETTER T. Its distinct columns, one per line. 5 B
001442 unicode/part1/U+24CA NormalizationTest.txt Ⓤ␊U Line 1495: CIRCLED LATIN CAPITAL LETTER U. Its distinct columns, one per line. 5 B
001443 unicode/part1/U+24CB NormalizationTest.txt Ⓥ␊V Line 1496: CIRCLED LATIN CAPITAL LETTER V. Its distinct columns, one per line. 5 B
001444 unicode/part1/U+24CC NormalizationTest.txt Ⓦ␊W Line 1497: CIRCLED LATIN CAPITAL LETTER W. Its distinct columns, one per line. 5 B
001445 unicode/part1/U+24CD NormalizationTest.txt Ⓧ␊X Line 1498: CIRCLED LATIN CAPITAL LETTER X. Its distinct columns, one per line. 5 B
001446 unicode/part1/U+24CE NormalizationTest.txt Ⓨ␊Y Line 1499: CIRCLED LATIN CAPITAL LETTER Y. Its distinct columns, one per line. 5 B
001447 unicode/part1/U+24CF NormalizationTest.txt Ⓩ␊Z Line 1500: CIRCLED LATIN CAPITAL LETTER Z. Its distinct columns, one per line. 5 B
001448 unicode/part1/U+24D0 NormalizationTest.txt ⓐ␊a Line 1501: CIRCLED LATIN SMALL LETTER A. Its distinct columns, one per line. 5 B
001449 unicode/part1/U+24D1 NormalizationTest.txt ⓑ␊b Line 1502: CIRCLED LATIN SMALL LETTER B. Its distinct columns, one per line. 5 B
001450 unicode/part1/U+24D2 NormalizationTest.txt ⓒ␊c Line 1503: CIRCLED LATIN SMALL LETTER C. Its distinct columns, one per line. 5 B
001451 unicode/part1/U+24D3 NormalizationTest.txt ⓓ␊d Line 1504: CIRCLED LATIN SMALL LETTER D. Its distinct columns, one per line. 5 B
001452 unicode/part1/U+24D4 NormalizationTest.txt ⓔ␊e Line 1505: CIRCLED LATIN SMALL LETTER E. Its distinct columns, one per line. 5 B
001453 unicode/part1/U+24D5 NormalizationTest.txt ⓕ␊f Line 1506: CIRCLED LATIN SMALL LETTER F. Its distinct columns, one per line. 5 B
001454 unicode/part1/U+24D6 NormalizationTest.txt ⓖ␊g Line 1507: CIRCLED LATIN SMALL LETTER G. Its distinct columns, one per line. 5 B
001455 unicode/part1/U+24D7 NormalizationTest.txt ⓗ␊h Line 1508: CIRCLED LATIN SMALL LETTER H. Its distinct columns, one per line. 5 B
001456 unicode/part1/U+24D8 NormalizationTest.txt ⓘ␊i Line 1509: CIRCLED LATIN SMALL LETTER I. Its distinct columns, one per line. 5 B
001457 unicode/part1/U+24D9 NormalizationTest.txt ⓙ␊j Line 1510: CIRCLED LATIN SMALL LETTER J. Its distinct columns, one per line. 5 B
001458 unicode/part1/U+24DA NormalizationTest.txt ⓚ␊k Line 1511: CIRCLED LATIN SMALL LETTER K. Its distinct columns, one per line. 5 B
001459 unicode/part1/U+24DB NormalizationTest.txt ⓛ␊l Line 1512: CIRCLED LATIN SMALL LETTER L. Its distinct columns, one per line. 5 B
001460 unicode/part1/U+24DC NormalizationTest.txt ⓜ␊m Line 1513: CIRCLED LATIN SMALL LETTER M. Its distinct columns, one per line. 5 B
001461 unicode/part1/U+24DD NormalizationTest.txt ⓝ␊n Line 1514: CIRCLED LATIN SMALL LETTER N. Its distinct columns, one per line. 5 B
001462 unicode/part1/U+24DE NormalizationTest.txt ⓞ␊o Line 1515: CIRCLED LATIN SMALL LETTER O. Its distinct columns, one per line. 5 B
001463 unicode/part1/U+24DF NormalizationTest.txt ⓟ␊p Line 1516: CIRCLED LATIN SMALL LETTER P. Its distinct columns, one per line. 5 B
001464 unicode/part1/U+24E0 NormalizationTest.txt ⓠ␊q Line 1517: CIRCLED LATIN SMALL LETTER Q. Its distinct columns, one per line. 5 B
001465 unicode/part1/U+24E1 NormalizationTest.txt ⓡ␊r Line 1518: CIRCLED LATIN SMALL LETTER R. Its distinct columns, one per line. 5 B
001466 unicode/part1/U+24E2 NormalizationTest.txt ⓢ␊s Line 1519: CIRCLED LATIN SMALL LETTER S. Its distinct columns, one per line. 5 B
001467 unicode/part1/U+24E3 NormalizationTest.txt ⓣ␊t Line 1520: CIRCLED LATIN SMALL LETTER T. Its distinct columns, one per line. 5 B
001468 unicode/part1/U+24E4 NormalizationTest.txt ⓤ␊u Line 1521: CIRCLED LATIN SMALL LETTER U. Its distinct columns, one per line. 5 B
001469 unicode/part1/U+24E5 NormalizationTest.txt ⓥ␊v Line 1522: CIRCLED LATIN SMALL LETTER V. Its distinct columns, one per line. 5 B
001470 unicode/part1/U+24E6 NormalizationTest.txt ⓦ␊w Line 1523: CIRCLED LATIN SMALL LETTER W. Its distinct columns, one per line. 5 B
001471 unicode/part1/U+24E7 NormalizationTest.txt ⓧ␊x Line 1524: CIRCLED LATIN SMALL LETTER X. Its distinct columns, one per line. 5 B
001472 unicode/part1/U+24E8 NormalizationTest.txt ⓨ␊y Line 1525: CIRCLED LATIN SMALL LETTER Y. Its distinct columns, one per line. 5 B
001473 unicode/part1/U+24E9 NormalizationTest.txt ⓩ␊z Line 1526: CIRCLED LATIN SMALL LETTER Z. Its distinct columns, one per line. 5 B
001474 unicode/part1/U+24EA NormalizationTest.txt ⓪␊0 Line 1527: CIRCLED DIGIT ZERO. Its distinct columns, one per line. 5 B
001475 unicode/part1/U+2A0C NormalizationTest.txt ⨌␊∫∫∫∫ Line 1528: QUADRUPLE INTEGRAL OPERATOR. Its distinct columns, one per line. 16 B
001476 unicode/part1/U+2A74 NormalizationTest.txt ⩴␊::= Line 1529: DOUBLE COLON EQUAL. Its distinct columns, one per line. 7 B
001477 unicode/part1/U+2A75 NormalizationTest.txt ⩵␊== Line 1530: TWO CONSECUTIVE EQUALS SIGNS. Its distinct columns, one per line. 6 B
001478 unicode/part1/U+2A76 NormalizationTest.txt ⩶␊=== Line 1531: THREE CONSECUTIVE EQUALS SIGNS. Its distinct columns, one per line. 7 B
001480 unicode/part1/U+2C7C NormalizationTest.txt ⱼ␊j Line 1533: LATIN SUBSCRIPT SMALL LETTER J. Its distinct columns, one per line. 5 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.