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

956 of 11,911 cases

Case Name Expected Note Size
000355 unicode/part1/U+0385 NormalizationTest.txt ΅␊΅␊ ̈́ Line 405: GREEK DIALYTIKA TONOS. Its distinct columns, one per line. 13 B
000356 unicode/part1/U+0386 NormalizationTest.txt Ά␊Ά Line 406: GREEK CAPITAL LETTER ALPHA WITH TONOS. Its distinct columns, one per line. 7 B
000358 unicode/part1/U+0388 NormalizationTest.txt Έ␊Έ Line 408: GREEK CAPITAL LETTER EPSILON WITH TONOS. Its distinct columns, one per line. 7 B
000359 unicode/part1/U+0389 NormalizationTest.txt Ή␊Ή Line 409: GREEK CAPITAL LETTER ETA WITH TONOS. Its distinct columns, one per line. 7 B
000360 unicode/part1/U+038A NormalizationTest.txt Ί␊Ί Line 410: GREEK CAPITAL LETTER IOTA WITH TONOS. Its distinct columns, one per line. 7 B
000361 unicode/part1/U+038C NormalizationTest.txt Ό␊Ό Line 411: GREEK CAPITAL LETTER OMICRON WITH TONOS. Its distinct columns, one per line. 7 B
000362 unicode/part1/U+038E NormalizationTest.txt Ύ␊Ύ Line 412: GREEK CAPITAL LETTER UPSILON WITH TONOS. Its distinct columns, one per line. 7 B
000363 unicode/part1/U+038F NormalizationTest.txt Ώ␊Ώ Line 413: GREEK CAPITAL LETTER OMEGA WITH TONOS. Its distinct columns, one per line. 7 B
000364 unicode/part1/U+0390 NormalizationTest.txt ΐ␊ΐ Line 414: GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS. Its distinct columns, one per line. 9 B
000365 unicode/part1/U+03AA NormalizationTest.txt Ϊ␊Ϊ Line 415: GREEK CAPITAL LETTER IOTA WITH DIALYTIKA. Its distinct columns, one per line. 7 B
000366 unicode/part1/U+03AB NormalizationTest.txt Ϋ␊Ϋ Line 416: GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA. Its distinct columns, one per line. 7 B
000367 unicode/part1/U+03AC NormalizationTest.txt ά␊ά Line 417: GREEK SMALL LETTER ALPHA WITH TONOS. Its distinct columns, one per line. 7 B
000368 unicode/part1/U+03AD NormalizationTest.txt έ␊έ Line 418: GREEK SMALL LETTER EPSILON WITH TONOS. Its distinct columns, one per line. 7 B
000369 unicode/part1/U+03AE NormalizationTest.txt ή␊ή Line 419: GREEK SMALL LETTER ETA WITH TONOS. Its distinct columns, one per line. 7 B
000370 unicode/part1/U+03AF NormalizationTest.txt ί␊ί Line 420: GREEK SMALL LETTER IOTA WITH TONOS. Its distinct columns, one per line. 7 B
000371 unicode/part1/U+03B0 NormalizationTest.txt ΰ␊ΰ Line 421: GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS. Its distinct columns, one per line. 9 B
000372 unicode/part1/U+03CA NormalizationTest.txt ϊ␊ϊ Line 422: GREEK SMALL LETTER IOTA WITH DIALYTIKA. Its distinct columns, one per line. 7 B
000373 unicode/part1/U+03CB NormalizationTest.txt ϋ␊ϋ Line 423: GREEK SMALL LETTER UPSILON WITH DIALYTIKA. Its distinct columns, one per line. 7 B
000374 unicode/part1/U+03CC NormalizationTest.txt ό␊ό Line 424: GREEK SMALL LETTER OMICRON WITH TONOS. Its distinct columns, one per line. 7 B
000375 unicode/part1/U+03CD NormalizationTest.txt ύ␊ύ Line 425: GREEK SMALL LETTER UPSILON WITH TONOS. Its distinct columns, one per line. 7 B
000376 unicode/part1/U+03CE NormalizationTest.txt ώ␊ώ Line 426: GREEK SMALL LETTER OMEGA WITH TONOS. Its distinct columns, one per line. 7 B
000380 unicode/part1/U+03D3 NormalizationTest.txt ϓ␊ϓ␊Ύ␊Ύ Line 430: GREEK UPSILON WITH ACUTE AND HOOK SYMBOL. Its distinct columns, one per line. 15 B
000381 unicode/part1/U+03D4 NormalizationTest.txt ϔ␊ϔ␊Ϋ␊Ϋ Line 431: GREEK UPSILON WITH DIAERESIS AND HOOK SYMBOL. Its distinct columns, one per line. 15 B
000390 unicode/part1/U+0400 NormalizationTest.txt Ѐ␊Ѐ Line 440: CYRILLIC CAPITAL LETTER IE WITH GRAVE. Its distinct columns, one per line. 7 B
000391 unicode/part1/U+0401 NormalizationTest.txt Ё␊Ё Line 441: CYRILLIC CAPITAL LETTER IO. Its distinct columns, one per line. 7 B
000392 unicode/part1/U+0403 NormalizationTest.txt Ѓ␊Ѓ Line 442: CYRILLIC CAPITAL LETTER GJE. Its distinct columns, one per line. 7 B
000393 unicode/part1/U+0407 NormalizationTest.txt Ї␊Ї Line 443: CYRILLIC CAPITAL LETTER YI. Its distinct columns, one per line. 7 B
000394 unicode/part1/U+040C NormalizationTest.txt Ќ␊Ќ Line 444: CYRILLIC CAPITAL LETTER KJE. Its distinct columns, one per line. 7 B
000395 unicode/part1/U+040D NormalizationTest.txt Ѝ␊Ѝ Line 445: CYRILLIC CAPITAL LETTER I WITH GRAVE. Its distinct columns, one per line. 7 B
000396 unicode/part1/U+040E NormalizationTest.txt Ў␊Ў Line 446: CYRILLIC CAPITAL LETTER SHORT U. Its distinct columns, one per line. 7 B
000397 unicode/part1/U+0419 NormalizationTest.txt Й␊Й Line 447: CYRILLIC CAPITAL LETTER SHORT I. Its distinct columns, one per line. 7 B
000398 unicode/part1/U+0439 NormalizationTest.txt й␊й Line 448: CYRILLIC SMALL LETTER SHORT I. Its distinct columns, one per line. 7 B
000399 unicode/part1/U+0450 NormalizationTest.txt ѐ␊ѐ Line 449: CYRILLIC SMALL LETTER IE WITH GRAVE. Its distinct columns, one per line. 7 B
000400 unicode/part1/U+0451 NormalizationTest.txt ё␊ё Line 450: CYRILLIC SMALL LETTER IO. Its distinct columns, one per line. 7 B
000401 unicode/part1/U+0453 NormalizationTest.txt ѓ␊ѓ Line 451: CYRILLIC SMALL LETTER GJE. Its distinct columns, one per line. 7 B
000402 unicode/part1/U+0457 NormalizationTest.txt ї␊ї Line 452: CYRILLIC SMALL LETTER YI. Its distinct columns, one per line. 7 B
000403 unicode/part1/U+045C NormalizationTest.txt ќ␊ќ Line 453: CYRILLIC SMALL LETTER KJE. Its distinct columns, one per line. 7 B
000404 unicode/part1/U+045D NormalizationTest.txt ѝ␊ѝ Line 454: CYRILLIC SMALL LETTER I WITH GRAVE. Its distinct columns, one per line. 7 B
000405 unicode/part1/U+045E NormalizationTest.txt ў␊ў Line 455: CYRILLIC SMALL LETTER SHORT U. Its distinct columns, one per line. 7 B
000406 unicode/part1/U+0476 NormalizationTest.txt Ѷ␊Ѷ Line 456: CYRILLIC CAPITAL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT. Its distinct columns, one per line. 7 B
000407 unicode/part1/U+0477 NormalizationTest.txt ѷ␊ѷ Line 457: CYRILLIC SMALL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT. Its distinct columns, one per line. 7 B
000408 unicode/part1/U+04C1 NormalizationTest.txt Ӂ␊Ӂ Line 458: CYRILLIC CAPITAL LETTER ZHE WITH BREVE. Its distinct columns, one per line. 7 B
000409 unicode/part1/U+04C2 NormalizationTest.txt ӂ␊ӂ Line 459: CYRILLIC SMALL LETTER ZHE WITH BREVE. Its distinct columns, one per line. 7 B
000410 unicode/part1/U+04D0 NormalizationTest.txt Ӑ␊Ӑ Line 460: CYRILLIC CAPITAL LETTER A WITH BREVE. Its distinct columns, one per line. 7 B
000411 unicode/part1/U+04D1 NormalizationTest.txt ӑ␊ӑ Line 461: CYRILLIC SMALL LETTER A WITH BREVE. Its distinct columns, one per line. 7 B
000412 unicode/part1/U+04D2 NormalizationTest.txt Ӓ␊Ӓ Line 462: CYRILLIC CAPITAL LETTER A WITH DIAERESIS. Its distinct columns, one per line. 7 B
000413 unicode/part1/U+04D3 NormalizationTest.txt ӓ␊ӓ Line 463: CYRILLIC SMALL LETTER A WITH DIAERESIS. Its distinct columns, one per line. 7 B
000414 unicode/part1/U+04D6 NormalizationTest.txt Ӗ␊Ӗ Line 464: CYRILLIC CAPITAL LETTER IE WITH BREVE. Its distinct columns, one per line. 7 B
000415 unicode/part1/U+04D7 NormalizationTest.txt ӗ␊ӗ Line 465: CYRILLIC SMALL LETTER IE WITH BREVE. Its distinct columns, one per line. 7 B
000416 unicode/part1/U+04DA NormalizationTest.txt Ӛ␊Ӛ Line 466: CYRILLIC CAPITAL LETTER SCHWA WITH DIAERESIS. 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.