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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 004245 | unicode/part1/U+1D4BD NormalizationTest.txt |
๐ฝโh
|
6 B | |
| 004246 | unicode/part1/U+1D4BE NormalizationTest.txt |
๐พโi
|
6 B | |
| 004247 | unicode/part1/U+1D4BF NormalizationTest.txt |
๐ฟโj
|
6 B | |
| 004248 | unicode/part1/U+1D4C0 NormalizationTest.txt |
๐โk
|
6 B | |
| 004249 | unicode/part1/U+1D4C1 NormalizationTest.txt |
๐โl
|
6 B | |
| 004250 | unicode/part1/U+1D4C2 NormalizationTest.txt |
๐โm
|
6 B | |
| 004251 | unicode/part1/U+1D4C3 NormalizationTest.txt |
๐โn
|
6 B | |
| 004252 | unicode/part1/U+1D4C5 NormalizationTest.txt |
๐
โp
|
6 B | |
| 004253 | unicode/part1/U+1D4C6 NormalizationTest.txt |
๐โq
|
6 B | |
| 004254 | unicode/part1/U+1D4C7 NormalizationTest.txt |
๐โr
|
6 B | |
| 004255 | unicode/part1/U+1D4C8 NormalizationTest.txt |
๐โs
|
6 B | |
| 004256 | unicode/part1/U+1D4C9 NormalizationTest.txt |
๐โt
|
6 B | |
| 004257 | unicode/part1/U+1D4CA NormalizationTest.txt |
๐โu
|
6 B | |
| 004258 | unicode/part1/U+1D4CB NormalizationTest.txt |
๐โv
|
6 B | |
| 004259 | unicode/part1/U+1D4CC NormalizationTest.txt |
๐โw
|
6 B | |
| 004260 | unicode/part1/U+1D4CD NormalizationTest.txt |
๐โx
|
6 B | |
| 004261 | unicode/part1/U+1D4CE NormalizationTest.txt |
๐โy
|
6 B | |
| 004262 | unicode/part1/U+1D4CF NormalizationTest.txt |
๐โz
|
6 B | |
| 004263 | unicode/part1/U+1D4D0 NormalizationTest.txt |
๐โA
|
6 B | |
| 004264 | unicode/part1/U+1D4D1 NormalizationTest.txt |
๐โB
|
6 B | |
| 004265 | unicode/part1/U+1D4D2 NormalizationTest.txt |
๐โC
|
6 B | |
| 004266 | unicode/part1/U+1D4D3 NormalizationTest.txt |
๐โD
|
6 B | |
| 004267 | unicode/part1/U+1D4D4 NormalizationTest.txt |
๐โE
|
6 B | |
| 004268 | unicode/part1/U+1D4D5 NormalizationTest.txt |
๐โF
|
6 B | |
| 004269 | unicode/part1/U+1D4D6 NormalizationTest.txt |
๐โG
|
6 B | |
| 004270 | unicode/part1/U+1D4D7 NormalizationTest.txt |
๐โH
|
6 B | |
| 004271 | unicode/part1/U+1D4D8 NormalizationTest.txt |
๐โI
|
6 B | |
| 004272 | unicode/part1/U+1D4D9 NormalizationTest.txt |
๐โJ
|
6 B | |
| 004273 | unicode/part1/U+1D4DA NormalizationTest.txt |
๐โK
|
6 B | |
| 004274 | unicode/part1/U+1D4DB NormalizationTest.txt |
๐โL
|
6 B | |
| 004275 | unicode/part1/U+1D4DC NormalizationTest.txt |
๐โM
|
6 B | |
| 004276 | unicode/part1/U+1D4DD NormalizationTest.txt |
๐โN
|
6 B | |
| 004277 | unicode/part1/U+1D4DE NormalizationTest.txt |
๐โO
|
6 B | |
| 004278 | unicode/part1/U+1D4DF NormalizationTest.txt |
๐โP
|
6 B | |
| 004279 | unicode/part1/U+1D4E0 NormalizationTest.txt |
๐ โQ
|
6 B | |
| 004280 | unicode/part1/U+1D4E1 NormalizationTest.txt |
๐กโR
|
6 B | |
| 004281 | unicode/part1/U+1D4E2 NormalizationTest.txt |
๐ขโS
|
6 B | |
| 004282 | unicode/part1/U+1D4E3 NormalizationTest.txt |
๐ฃโT
|
6 B | |
| 004283 | unicode/part1/U+1D4E4 NormalizationTest.txt |
๐คโU
|
6 B | |
| 004284 | unicode/part1/U+1D4E5 NormalizationTest.txt |
๐ฅโV
|
6 B | |
| 004285 | unicode/part1/U+1D4E6 NormalizationTest.txt |
๐ฆโW
|
6 B | |
| 004286 | unicode/part1/U+1D4E7 NormalizationTest.txt |
๐งโX
|
6 B | |
| 004287 | unicode/part1/U+1D4E8 NormalizationTest.txt |
๐จโY
|
6 B | |
| 004288 | unicode/part1/U+1D4E9 NormalizationTest.txt |
๐ฉโZ
|
6 B | |
| 004289 | unicode/part1/U+1D4EA NormalizationTest.txt |
๐ชโa
|
6 B | |
| 004290 | unicode/part1/U+1D4EB NormalizationTest.txt |
๐ซโb
|
6 B | |
| 004291 | unicode/part1/U+1D4EC NormalizationTest.txt |
๐ฌโc
|
6 B | |
| 004292 | unicode/part1/U+1D4ED NormalizationTest.txt |
๐ญโd
|
6 B | |
| 004293 | unicode/part1/U+1D4EE NormalizationTest.txt |
๐ฎโe
|
6 B | |
| 004294 | unicode/part1/U+1D4EF NormalizationTest.txt |
๐ฏโf
|
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