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 |
|---|---|---|---|---|
| 004000 | unicode/part1/U+113C8 NormalizationTest.txt |
๐โ๐
|
13 B | |
| 004001 | unicode/part1/U+114BB NormalizationTest.txt |
๐ปโ๐ป
|
13 B | |
| 004002 | unicode/part1/U+114BC NormalizationTest.txt |
๐ผโ๐ผ
|
13 B | |
| 004003 | unicode/part1/U+114BE NormalizationTest.txt |
๐พโ๐พ
|
13 B | |
| 004004 | unicode/part1/U+115BA NormalizationTest.txt |
๐บโ๐บ
|
13 B | |
| 004005 | unicode/part1/U+115BB NormalizationTest.txt |
๐ปโ๐ป
|
13 B | |
| 004006 | unicode/part1/U+11938 NormalizationTest.txt |
๐คธโ๐คธ
|
13 B | |
| 004007 | unicode/part1/U+16121 NormalizationTest.txt |
๐กโ๐ก
|
13 B | |
| 004008 | unicode/part1/U+16122 NormalizationTest.txt |
๐ขโ๐ข
|
13 B | |
| 004009 | unicode/part1/U+16123 NormalizationTest.txt |
๐ฃโ๐ฃ
|
13 B | |
| 004010 | unicode/part1/U+16124 NormalizationTest.txt |
๐คโ๐ค
|
13 B | |
| 004011 | unicode/part1/U+16125 NormalizationTest.txt |
๐ฅโ๐ฅ
|
13 B | |
| 004012 | unicode/part1/U+16126 NormalizationTest.txt |
๐ฆโ๐ฆ
|
17 B | |
| 004013 | unicode/part1/U+16127 NormalizationTest.txt |
๐งโ๐ง
|
17 B | |
| 004014 | unicode/part1/U+16128 NormalizationTest.txt |
๐จโ๐จ
|
17 B | |
| 004015 | unicode/part1/U+16D68 NormalizationTest.txt |
๐ตจโ๐ตจ
|
13 B | |
| 004016 | unicode/part1/U+16D69 NormalizationTest.txt |
๐ตฉโ๐ตฉ
|
13 B | |
| 004017 | unicode/part1/U+16D6A NormalizationTest.txt |
๐ตชโ๐ตช
|
17 B | |
| 004018 | unicode/part1/U+1CCD6 NormalizationTest.txt |
๐ณโA
|
6 B | |
| 004019 | unicode/part1/U+1CCD7 NormalizationTest.txt |
๐ณโB
|
6 B | |
| 004020 | unicode/part1/U+1CCD8 NormalizationTest.txt |
๐ณโC
|
6 B | |
| 004021 | unicode/part1/U+1CCD9 NormalizationTest.txt |
๐ณโD
|
6 B | |
| 004022 | unicode/part1/U+1CCDA NormalizationTest.txt |
๐ณโE
|
6 B | |
| 004023 | unicode/part1/U+1CCDB NormalizationTest.txt |
๐ณโF
|
6 B | |
| 004024 | unicode/part1/U+1CCDC NormalizationTest.txt |
๐ณโG
|
6 B | |
| 004025 | unicode/part1/U+1CCDD NormalizationTest.txt |
๐ณโH
|
6 B | |
| 004026 | unicode/part1/U+1CCDE NormalizationTest.txt |
๐ณโI
|
6 B | |
| 004027 | unicode/part1/U+1CCDF NormalizationTest.txt |
๐ณโJ
|
6 B | |
| 004028 | unicode/part1/U+1CCE0 NormalizationTest.txt |
๐ณ โK
|
6 B | |
| 004029 | unicode/part1/U+1CCE1 NormalizationTest.txt |
๐ณกโL
|
6 B | |
| 004030 | unicode/part1/U+1CCE2 NormalizationTest.txt |
๐ณขโM
|
6 B | |
| 004031 | unicode/part1/U+1CCE3 NormalizationTest.txt |
๐ณฃโN
|
6 B | |
| 004032 | unicode/part1/U+1CCE4 NormalizationTest.txt |
๐ณคโO
|
6 B | |
| 004033 | unicode/part1/U+1CCE5 NormalizationTest.txt |
๐ณฅโP
|
6 B | |
| 004034 | unicode/part1/U+1CCE6 NormalizationTest.txt |
๐ณฆโQ
|
6 B | |
| 004035 | unicode/part1/U+1CCE7 NormalizationTest.txt |
๐ณงโR
|
6 B | |
| 004036 | unicode/part1/U+1CCE8 NormalizationTest.txt |
๐ณจโS
|
6 B | |
| 004037 | unicode/part1/U+1CCE9 NormalizationTest.txt |
๐ณฉโT
|
6 B | |
| 004038 | unicode/part1/U+1CCEA NormalizationTest.txt |
๐ณชโU
|
6 B | |
| 004039 | unicode/part1/U+1CCEB NormalizationTest.txt |
๐ณซโV
|
6 B | |
| 004040 | unicode/part1/U+1CCEC NormalizationTest.txt |
๐ณฌโW
|
6 B | |
| 004041 | unicode/part1/U+1CCED NormalizationTest.txt |
๐ณญโX
|
6 B | |
| 004042 | unicode/part1/U+1CCEE NormalizationTest.txt |
๐ณฎโY
|
6 B | |
| 004043 | unicode/part1/U+1CCEF NormalizationTest.txt |
๐ณฏโZ
|
6 B | |
| 004044 | unicode/part1/U+1CCF0 NormalizationTest.txt |
๐ณฐโ0
|
6 B | |
| 004045 | unicode/part1/U+1CCF1 NormalizationTest.txt |
๐ณฑโ1
|
6 B | |
| 004046 | unicode/part1/U+1CCF2 NormalizationTest.txt |
๐ณฒโ2
|
6 B | |
| 004047 | unicode/part1/U+1CCF3 NormalizationTest.txt |
๐ณณโ3
|
6 B | |
| 004048 | unicode/part1/U+1CCF4 NormalizationTest.txt |
๐ณดโ4
|
6 B | |
| 004049 | unicode/part1/U+1CCF5 NormalizationTest.txt |
๐ณตโ5
|
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.
- 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