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 |
|---|---|---|---|---|
| 003985 | unicode/part1/U+107B9 NormalizationTest.txt |
๐นโ๐ผ
|
9 B | |
| 003986 | unicode/part1/U+107BA NormalizationTest.txt |
๐บโ๐ผ
|
9 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 | |
| 004050 | unicode/part1/U+1CCF6 NormalizationTest.txt |
๐ณถโ6
|
6 B | |
| 004051 | unicode/part1/U+1CCF7 NormalizationTest.txt |
๐ณทโ7
|
6 B | |
| 004052 | unicode/part1/U+1CCF8 NormalizationTest.txt |
๐ณธโ8
|
6 B | |
| 004053 | unicode/part1/U+1CCF9 NormalizationTest.txt |
๐ณนโ9
|
6 B | |
| 004067 | unicode/part1/U+1D400 NormalizationTest.txt |
๐โA
|
6 B | |
| 004068 | unicode/part1/U+1D401 NormalizationTest.txt |
๐โB
|
6 B | |
| 004069 | unicode/part1/U+1D402 NormalizationTest.txt |
๐โC
|
6 B | |
| 004070 | unicode/part1/U+1D403 NormalizationTest.txt |
๐โD
|
6 B | |
| 004071 | unicode/part1/U+1D404 NormalizationTest.txt |
๐โE
|
6 B | |
| 004072 | unicode/part1/U+1D405 NormalizationTest.txt |
๐
โF
|
6 B | |
| 004073 | unicode/part1/U+1D406 NormalizationTest.txt |
๐โG
|
6 B | |
| 004074 | unicode/part1/U+1D407 NormalizationTest.txt |
๐โH
|
6 B | |
| 004075 | unicode/part1/U+1D408 NormalizationTest.txt |
๐โI
|
6 B | |
| 004076 | unicode/part1/U+1D409 NormalizationTest.txt |
๐โJ
|
6 B | |
| 004077 | unicode/part1/U+1D40A NormalizationTest.txt |
๐โK
|
6 B | |
| 004078 | unicode/part1/U+1D40B NormalizationTest.txt |
๐โL
|
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