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 |
|---|---|---|---|---|
| 004295 | unicode/part1/U+1D4F0 NormalizationTest.txt |
π°βg
|
6 B | |
| 004296 | unicode/part1/U+1D4F1 NormalizationTest.txt |
π±βh
|
6 B | |
| 004297 | unicode/part1/U+1D4F2 NormalizationTest.txt |
π²βi
|
6 B | |
| 004298 | unicode/part1/U+1D4F3 NormalizationTest.txt |
π³βj
|
6 B | |
| 004299 | unicode/part1/U+1D4F4 NormalizationTest.txt |
π΄βk
|
6 B | |
| 004300 | unicode/part1/U+1D4F5 NormalizationTest.txt |
π΅βl
|
6 B | |
| 004301 | unicode/part1/U+1D4F6 NormalizationTest.txt |
πΆβm
|
6 B | |
| 004302 | unicode/part1/U+1D4F7 NormalizationTest.txt |
π·βn
|
6 B | |
| 004303 | unicode/part1/U+1D4F8 NormalizationTest.txt |
πΈβo
|
6 B | |
| 004304 | unicode/part1/U+1D4F9 NormalizationTest.txt |
πΉβp
|
6 B | |
| 004305 | unicode/part1/U+1D4FA NormalizationTest.txt |
πΊβq
|
6 B | |
| 004306 | unicode/part1/U+1D4FB NormalizationTest.txt |
π»βr
|
6 B | |
| 004307 | unicode/part1/U+1D4FC NormalizationTest.txt |
πΌβs
|
6 B | |
| 004308 | unicode/part1/U+1D4FD NormalizationTest.txt |
π½βt
|
6 B | |
| 004309 | unicode/part1/U+1D4FE NormalizationTest.txt |
πΎβu
|
6 B | |
| 004310 | unicode/part1/U+1D4FF NormalizationTest.txt |
πΏβv
|
6 B | |
| 004311 | unicode/part1/U+1D500 NormalizationTest.txt |
πβw
|
6 B | |
| 004312 | unicode/part1/U+1D501 NormalizationTest.txt |
πβx
|
6 B | |
| 004313 | unicode/part1/U+1D502 NormalizationTest.txt |
πβy
|
6 B | |
| 004314 | unicode/part1/U+1D503 NormalizationTest.txt |
πβz
|
6 B | |
| 004315 | unicode/part1/U+1D504 NormalizationTest.txt |
πβA
|
6 B | |
| 004316 | unicode/part1/U+1D505 NormalizationTest.txt |
π
βB
|
6 B | |
| 004317 | unicode/part1/U+1D507 NormalizationTest.txt |
πβD
|
6 B | |
| 004318 | unicode/part1/U+1D508 NormalizationTest.txt |
πβE
|
6 B | |
| 004319 | unicode/part1/U+1D509 NormalizationTest.txt |
πβF
|
6 B | |
| 004320 | unicode/part1/U+1D50A NormalizationTest.txt |
πβG
|
6 B | |
| 004321 | unicode/part1/U+1D50D NormalizationTest.txt |
πβJ
|
6 B | |
| 004322 | unicode/part1/U+1D50E NormalizationTest.txt |
πβK
|
6 B | |
| 004323 | unicode/part1/U+1D50F NormalizationTest.txt |
πβL
|
6 B | |
| 004324 | unicode/part1/U+1D510 NormalizationTest.txt |
πβM
|
6 B | |
| 004325 | unicode/part1/U+1D511 NormalizationTest.txt |
πβN
|
6 B | |
| 004326 | unicode/part1/U+1D512 NormalizationTest.txt |
πβO
|
6 B | |
| 004327 | unicode/part1/U+1D513 NormalizationTest.txt |
πβP
|
6 B | |
| 004328 | unicode/part1/U+1D514 NormalizationTest.txt |
πβQ
|
6 B | |
| 004329 | unicode/part1/U+1D516 NormalizationTest.txt |
πβS
|
6 B | |
| 004330 | unicode/part1/U+1D517 NormalizationTest.txt |
πβT
|
6 B | |
| 004331 | unicode/part1/U+1D518 NormalizationTest.txt |
πβU
|
6 B | |
| 004332 | unicode/part1/U+1D519 NormalizationTest.txt |
πβV
|
6 B | |
| 004333 | unicode/part1/U+1D51A NormalizationTest.txt |
πβW
|
6 B | |
| 004334 | unicode/part1/U+1D51B NormalizationTest.txt |
πβX
|
6 B | |
| 004335 | unicode/part1/U+1D51C NormalizationTest.txt |
πβY
|
6 B | |
| 004336 | unicode/part1/U+1D51E NormalizationTest.txt |
πβa
|
6 B | |
| 004337 | unicode/part1/U+1D51F NormalizationTest.txt |
πβb
|
6 B | |
| 004338 | unicode/part1/U+1D520 NormalizationTest.txt |
π βc
|
6 B | |
| 004339 | unicode/part1/U+1D521 NormalizationTest.txt |
π‘βd
|
6 B | |
| 004340 | unicode/part1/U+1D522 NormalizationTest.txt |
π’βe
|
6 B | |
| 004341 | unicode/part1/U+1D523 NormalizationTest.txt |
π£βf
|
6 B | |
| 004342 | unicode/part1/U+1D524 NormalizationTest.txt |
π€βg
|
6 B | |
| 004343 | unicode/part1/U+1D525 NormalizationTest.txt |
π₯βh
|
6 B | |
| 004344 | unicode/part1/U+1D526 NormalizationTest.txt |
π¦βi
|
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