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 |
|---|---|---|---|---|
| 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 | |
| 004229 | unicode/part1/U+1D4AA NormalizationTest.txt |
๐ชโO
|
6 B | |
| 004230 | unicode/part1/U+1D4AB NormalizationTest.txt |
๐ซโP
|
6 B | |
| 004231 | unicode/part1/U+1D4AC NormalizationTest.txt |
๐ฌโQ
|
6 B | |
| 004232 | unicode/part1/U+1D4AE NormalizationTest.txt |
๐ฎโS
|
6 B | |
| 004233 | unicode/part1/U+1D4AF NormalizationTest.txt |
๐ฏโT
|
6 B | |
| 004234 | unicode/part1/U+1D4B0 NormalizationTest.txt |
๐ฐโU
|
6 B | |
| 004235 | unicode/part1/U+1D4B1 NormalizationTest.txt |
๐ฑโV
|
6 B | |
| 004236 | unicode/part1/U+1D4B2 NormalizationTest.txt |
๐ฒโW
|
6 B | |
| 004237 | unicode/part1/U+1D4B3 NormalizationTest.txt |
๐ณโX
|
6 B | |
| 004238 | unicode/part1/U+1D4B4 NormalizationTest.txt |
๐ดโY
|
6 B | |
| 004239 | unicode/part1/U+1D4B5 NormalizationTest.txt |
๐ตโZ
|
6 B | |
| 004240 | unicode/part1/U+1D4B6 NormalizationTest.txt |
๐ถโa
|
6 B | |
| 004241 | unicode/part1/U+1D4B7 NormalizationTest.txt |
๐ทโb
|
6 B | |
| 004242 | unicode/part1/U+1D4B8 NormalizationTest.txt |
๐ธโc
|
6 B | |
| 004243 | unicode/part1/U+1D4B9 NormalizationTest.txt |
๐นโd
|
6 B | |
| 004244 | unicode/part1/U+1D4BB 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