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 |
|---|---|---|---|---|
| 004079 | unicode/part1/U+1D40C NormalizationTest.txt |
๐โM
|
6 B | |
| 004080 | unicode/part1/U+1D40D NormalizationTest.txt |
๐โN
|
6 B | |
| 004081 | unicode/part1/U+1D40E NormalizationTest.txt |
๐โO
|
6 B | |
| 004082 | unicode/part1/U+1D40F NormalizationTest.txt |
๐โP
|
6 B | |
| 004083 | unicode/part1/U+1D410 NormalizationTest.txt |
๐โQ
|
6 B | |
| 004084 | unicode/part1/U+1D411 NormalizationTest.txt |
๐โR
|
6 B | |
| 004085 | unicode/part1/U+1D412 NormalizationTest.txt |
๐โS
|
6 B | |
| 004086 | unicode/part1/U+1D413 NormalizationTest.txt |
๐โT
|
6 B | |
| 004087 | unicode/part1/U+1D414 NormalizationTest.txt |
๐โU
|
6 B | |
| 004088 | unicode/part1/U+1D415 NormalizationTest.txt |
๐โV
|
6 B | |
| 004089 | unicode/part1/U+1D416 NormalizationTest.txt |
๐โW
|
6 B | |
| 004090 | unicode/part1/U+1D417 NormalizationTest.txt |
๐โX
|
6 B | |
| 004091 | unicode/part1/U+1D418 NormalizationTest.txt |
๐โY
|
6 B | |
| 004092 | unicode/part1/U+1D419 NormalizationTest.txt |
๐โZ
|
6 B | |
| 004093 | unicode/part1/U+1D41A NormalizationTest.txt |
๐โa
|
6 B | |
| 004094 | unicode/part1/U+1D41B NormalizationTest.txt |
๐โb
|
6 B | |
| 004095 | unicode/part1/U+1D41C NormalizationTest.txt |
๐โc
|
6 B | |
| 004096 | unicode/part1/U+1D41D NormalizationTest.txt |
๐โd
|
6 B | |
| 004097 | unicode/part1/U+1D41E NormalizationTest.txt |
๐โe
|
6 B | |
| 004098 | unicode/part1/U+1D41F NormalizationTest.txt |
๐โf
|
6 B | |
| 004099 | unicode/part1/U+1D420 NormalizationTest.txt |
๐ โg
|
6 B | |
| 004100 | unicode/part1/U+1D421 NormalizationTest.txt |
๐กโh
|
6 B | |
| 004101 | unicode/part1/U+1D422 NormalizationTest.txt |
๐ขโi
|
6 B | |
| 004102 | unicode/part1/U+1D423 NormalizationTest.txt |
๐ฃโj
|
6 B | |
| 004103 | unicode/part1/U+1D424 NormalizationTest.txt |
๐คโk
|
6 B | |
| 004104 | unicode/part1/U+1D425 NormalizationTest.txt |
๐ฅโl
|
6 B | |
| 004105 | unicode/part1/U+1D426 NormalizationTest.txt |
๐ฆโm
|
6 B | |
| 004106 | unicode/part1/U+1D427 NormalizationTest.txt |
๐งโn
|
6 B | |
| 004107 | unicode/part1/U+1D428 NormalizationTest.txt |
๐จโo
|
6 B | |
| 004108 | unicode/part1/U+1D429 NormalizationTest.txt |
๐ฉโp
|
6 B | |
| 004109 | unicode/part1/U+1D42A NormalizationTest.txt |
๐ชโq
|
6 B | |
| 004110 | unicode/part1/U+1D42B NormalizationTest.txt |
๐ซโr
|
6 B | |
| 004111 | unicode/part1/U+1D42C NormalizationTest.txt |
๐ฌโs
|
6 B | |
| 004112 | unicode/part1/U+1D42D NormalizationTest.txt |
๐ญโt
|
6 B | |
| 004113 | unicode/part1/U+1D42E NormalizationTest.txt |
๐ฎโu
|
6 B | |
| 004114 | unicode/part1/U+1D42F NormalizationTest.txt |
๐ฏโv
|
6 B | |
| 004115 | unicode/part1/U+1D430 NormalizationTest.txt |
๐ฐโw
|
6 B | |
| 004116 | unicode/part1/U+1D431 NormalizationTest.txt |
๐ฑโx
|
6 B | |
| 004117 | unicode/part1/U+1D432 NormalizationTest.txt |
๐ฒโy
|
6 B | |
| 004118 | unicode/part1/U+1D433 NormalizationTest.txt |
๐ณโz
|
6 B | |
| 004119 | unicode/part1/U+1D434 NormalizationTest.txt |
๐ดโA
|
6 B | |
| 004120 | unicode/part1/U+1D435 NormalizationTest.txt |
๐ตโB
|
6 B | |
| 004121 | unicode/part1/U+1D436 NormalizationTest.txt |
๐ถโC
|
6 B | |
| 004122 | unicode/part1/U+1D437 NormalizationTest.txt |
๐ทโD
|
6 B | |
| 004123 | unicode/part1/U+1D438 NormalizationTest.txt |
๐ธโE
|
6 B | |
| 004124 | unicode/part1/U+1D439 NormalizationTest.txt |
๐นโF
|
6 B | |
| 004125 | unicode/part1/U+1D43A NormalizationTest.txt |
๐บโG
|
6 B | |
| 004126 | unicode/part1/U+1D43B NormalizationTest.txt |
๐ปโH
|
6 B | |
| 004127 | unicode/part1/U+1D43C NormalizationTest.txt |
๐ผโI
|
6 B | |
| 004128 | unicode/part1/U+1D43D NormalizationTest.txt |
๐ฝโJ
|
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