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
3,833 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 004729 | unicode/part1/U+1D6B0 NormalizationTest.txt |
π°βΞ
|
7 B | |
| 004730 | unicode/part1/U+1D6B1 NormalizationTest.txt |
π±βΞ
|
7 B | |
| 004731 | unicode/part1/U+1D6B2 NormalizationTest.txt |
π²βΞ
|
7 B | |
| 004732 | unicode/part1/U+1D6B3 NormalizationTest.txt |
π³βΞ
|
7 B | |
| 004733 | unicode/part1/U+1D6B4 NormalizationTest.txt |
π΄βΞ
|
7 B | |
| 004734 | unicode/part1/U+1D6B5 NormalizationTest.txt |
π΅βΞ
|
7 B | |
| 004735 | unicode/part1/U+1D6B6 NormalizationTest.txt |
πΆβΞ
|
7 B | |
| 004736 | unicode/part1/U+1D6B7 NormalizationTest.txt |
π·βΞ
|
7 B | |
| 004737 | unicode/part1/U+1D6B8 NormalizationTest.txt |
πΈβΞ‘
|
7 B | |
| 004738 | unicode/part1/U+1D6B9 NormalizationTest.txt |
πΉβΞ
|
7 B | |
| 004739 | unicode/part1/U+1D6BA NormalizationTest.txt |
πΊβΞ£
|
7 B | |
| 004740 | unicode/part1/U+1D6BB NormalizationTest.txt |
π»βΞ€
|
7 B | |
| 004741 | unicode/part1/U+1D6BC NormalizationTest.txt |
πΌβΞ₯
|
7 B | |
| 004742 | unicode/part1/U+1D6BD NormalizationTest.txt |
π½βΞ¦
|
7 B | |
| 004743 | unicode/part1/U+1D6BE NormalizationTest.txt |
πΎβΞ§
|
7 B | |
| 004744 | unicode/part1/U+1D6BF NormalizationTest.txt |
πΏβΞ¨
|
7 B | |
| 004745 | unicode/part1/U+1D6C0 NormalizationTest.txt |
πβΞ©
|
7 B | |
| 004746 | unicode/part1/U+1D6C1 NormalizationTest.txt |
πββ
|
8 B | |
| 004747 | unicode/part1/U+1D6C2 NormalizationTest.txt |
πβΞ±
|
7 B | |
| 004748 | unicode/part1/U+1D6C3 NormalizationTest.txt |
πβΞ²
|
7 B | |
| 004749 | unicode/part1/U+1D6C4 NormalizationTest.txt |
πβΞ³
|
7 B | |
| 004750 | unicode/part1/U+1D6C5 NormalizationTest.txt |
π
βΞ΄
|
7 B | |
| 004751 | unicode/part1/U+1D6C6 NormalizationTest.txt |
πβΞ΅
|
7 B | |
| 004752 | unicode/part1/U+1D6C7 NormalizationTest.txt |
πβΞΆ
|
7 B | |
| 004753 | unicode/part1/U+1D6C8 NormalizationTest.txt |
πβΞ·
|
7 B | |
| 004754 | unicode/part1/U+1D6C9 NormalizationTest.txt |
πβΞΈ
|
7 B | |
| 004755 | unicode/part1/U+1D6CA NormalizationTest.txt |
πβΞΉ
|
7 B | |
| 004756 | unicode/part1/U+1D6CB NormalizationTest.txt |
πβΞΊ
|
7 B | |
| 004757 | unicode/part1/U+1D6CC NormalizationTest.txt |
πβΞ»
|
7 B | |
| 004758 | unicode/part1/U+1D6CD NormalizationTest.txt |
πβΞΌ
|
7 B | |
| 004759 | unicode/part1/U+1D6CE NormalizationTest.txt |
πβΞ½
|
7 B | |
| 004760 | unicode/part1/U+1D6CF NormalizationTest.txt |
πβΞΎ
|
7 B | |
| 004761 | unicode/part1/U+1D6D0 NormalizationTest.txt |
πβΞΏ
|
7 B | |
| 004762 | unicode/part1/U+1D6D1 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004763 | unicode/part1/U+1D6D2 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004764 | unicode/part1/U+1D6D3 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004765 | unicode/part1/U+1D6D4 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004766 | unicode/part1/U+1D6D5 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004767 | unicode/part1/U+1D6D6 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004768 | unicode/part1/U+1D6D7 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004769 | unicode/part1/U+1D6D8 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004770 | unicode/part1/U+1D6D9 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004771 | unicode/part1/U+1D6DA NormalizationTest.txt |
πβΟ
|
7 B | |
| 004772 | unicode/part1/U+1D6DB NormalizationTest.txt |
πββ
|
8 B | |
| 004773 | unicode/part1/U+1D6DC NormalizationTest.txt |
πβΞ΅
|
7 B | |
| 004774 | unicode/part1/U+1D6DD NormalizationTest.txt |
πβΞΈ
|
7 B | |
| 004775 | unicode/part1/U+1D6DE NormalizationTest.txt |
πβΞΊ
|
7 B | |
| 004776 | unicode/part1/U+1D6DF NormalizationTest.txt |
πβΟ
|
7 B | |
| 004777 | unicode/part1/U+1D6E0 NormalizationTest.txt |
π βΟ
|
7 B | |
| 004778 | unicode/part1/U+1D6E1 NormalizationTest.txt |
π‘βΟ
|
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.
- NormalizationTest.txt β Unicodeβs conformance test, the source of the 8,868 unicode cases; each case is one line, its distinct columns on separate lines
- The Unicode Character Database β combining classes, decompositions and composition exclusions, the source of the 157 ucd cases