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 |
|---|---|---|---|---|
| 004179 | unicode/part1/U+1D471 NormalizationTest.txt |
π±βJ
|
6 B | |
| 004180 | unicode/part1/U+1D472 NormalizationTest.txt |
π²βK
|
6 B | |
| 004181 | unicode/part1/U+1D473 NormalizationTest.txt |
π³βL
|
6 B | |
| 004182 | unicode/part1/U+1D474 NormalizationTest.txt |
π΄βM
|
6 B | |
| 004183 | unicode/part1/U+1D475 NormalizationTest.txt |
π΅βN
|
6 B | |
| 004184 | unicode/part1/U+1D476 NormalizationTest.txt |
πΆβO
|
6 B | |
| 004185 | unicode/part1/U+1D477 NormalizationTest.txt |
π·βP
|
6 B | |
| 004186 | unicode/part1/U+1D478 NormalizationTest.txt |
πΈβQ
|
6 B | |
| 004187 | unicode/part1/U+1D479 NormalizationTest.txt |
πΉβR
|
6 B | |
| 004188 | unicode/part1/U+1D47A NormalizationTest.txt |
πΊβS
|
6 B | |
| 004189 | unicode/part1/U+1D47B NormalizationTest.txt |
π»βT
|
6 B | |
| 004190 | unicode/part1/U+1D47C NormalizationTest.txt |
πΌβU
|
6 B | |
| 004191 | unicode/part1/U+1D47D NormalizationTest.txt |
π½βV
|
6 B | |
| 004192 | unicode/part1/U+1D47E NormalizationTest.txt |
πΎβW
|
6 B | |
| 004193 | unicode/part1/U+1D47F NormalizationTest.txt |
πΏβX
|
6 B | |
| 004194 | unicode/part1/U+1D480 NormalizationTest.txt |
πβY
|
6 B | |
| 004195 | unicode/part1/U+1D481 NormalizationTest.txt |
πβZ
|
6 B | |
| 004196 | unicode/part1/U+1D482 NormalizationTest.txt |
πβa
|
6 B | |
| 004197 | unicode/part1/U+1D483 NormalizationTest.txt |
πβb
|
6 B | |
| 004198 | unicode/part1/U+1D484 NormalizationTest.txt |
πβc
|
6 B | |
| 004199 | unicode/part1/U+1D485 NormalizationTest.txt |
π
βd
|
6 B | |
| 004200 | unicode/part1/U+1D486 NormalizationTest.txt |
πβe
|
6 B | |
| 004201 | unicode/part1/U+1D487 NormalizationTest.txt |
πβf
|
6 B | |
| 004202 | unicode/part1/U+1D488 NormalizationTest.txt |
πβg
|
6 B | |
| 004203 | unicode/part1/U+1D489 NormalizationTest.txt |
πβh
|
6 B | |
| 004204 | unicode/part1/U+1D48A NormalizationTest.txt |
πβi
|
6 B | |
| 004205 | unicode/part1/U+1D48B NormalizationTest.txt |
πβj
|
6 B | |
| 004206 | unicode/part1/U+1D48C NormalizationTest.txt |
πβk
|
6 B | |
| 004207 | unicode/part1/U+1D48D NormalizationTest.txt |
πβl
|
6 B | |
| 004208 | unicode/part1/U+1D48E NormalizationTest.txt |
πβm
|
6 B | |
| 004209 | unicode/part1/U+1D48F NormalizationTest.txt |
πβn
|
6 B | |
| 004210 | unicode/part1/U+1D490 NormalizationTest.txt |
πβo
|
6 B | |
| 004211 | unicode/part1/U+1D491 NormalizationTest.txt |
πβp
|
6 B | |
| 004212 | unicode/part1/U+1D492 NormalizationTest.txt |
πβq
|
6 B | |
| 004213 | unicode/part1/U+1D493 NormalizationTest.txt |
πβr
|
6 B | |
| 004214 | unicode/part1/U+1D494 NormalizationTest.txt |
πβs
|
6 B | |
| 004215 | unicode/part1/U+1D495 NormalizationTest.txt |
πβt
|
6 B | |
| 004216 | unicode/part1/U+1D496 NormalizationTest.txt |
πβu
|
6 B | |
| 004217 | unicode/part1/U+1D497 NormalizationTest.txt |
πβv
|
6 B | |
| 004218 | unicode/part1/U+1D498 NormalizationTest.txt |
πβw
|
6 B | |
| 004219 | unicode/part1/U+1D499 NormalizationTest.txt |
πβx
|
6 B | |
| 004220 | unicode/part1/U+1D49A NormalizationTest.txt |
πβy
|
6 B | |
| 004221 | unicode/part1/U+1D49B NormalizationTest.txt |
πβz
|
6 B | |
| 004222 | unicode/part1/U+1D49C NormalizationTest.txt |
πβA
|
6 B | |
| 004223 | unicode/part1/U+1D49E NormalizationTest.txt |
πβC
|
6 B | |
| 004224 | unicode/part1/U+1D49F NormalizationTest.txt |
πβD
|
6 B | |
| 004225 | unicode/part1/U+1D4A2 NormalizationTest.txt |
π’βG
|
6 B | |
| 004226 | unicode/part1/U+1D4A5 NormalizationTest.txt |
π₯βJ
|
6 B | |
| 004227 | unicode/part1/U+1D4A6 NormalizationTest.txt |
π¦βK
|
6 B | |
| 004228 | unicode/part1/U+1D4A9 NormalizationTest.txt |
π©βN
|
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