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
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 004050 | unicode/part1/U+1CCF6 NormalizationTest.txt |
๐ณถโ6
|
6 B | |
| 004051 | unicode/part1/U+1CCF7 NormalizationTest.txt |
๐ณทโ7
|
6 B | |
| 004052 | unicode/part1/U+1CCF8 NormalizationTest.txt |
๐ณธโ8
|
6 B | |
| 004053 | unicode/part1/U+1CCF9 NormalizationTest.txt |
๐ณนโ9
|
6 B | |
| 004054 | unicode/part1/U+1D15E NormalizationTest.txt |
๐
๐
ฅโ๐
๐
ฅ
|
13 B | |
| 004055 | unicode/part1/U+1D15F NormalizationTest.txt |
๐
๐
ฅโ๐
๐
ฅ
|
13 B | |
| 004056 | unicode/part1/U+1D160 NormalizationTest.txt |
๐
๐
ฅ๐
ฎโ๐
๐
ฅ๐
ฎ
|
17 B | |
| 004057 | unicode/part1/U+1D161 NormalizationTest.txt |
๐
๐
ฅ๐
ฏโ๐
๐
ฅ๐
ฏ
|
17 B | |
| 004058 | unicode/part1/U+1D162 NormalizationTest.txt |
๐
๐
ฅ๐
ฐโ๐
๐
ฅ๐
ฐ
|
17 B | |
| 004059 | unicode/part1/U+1D163 NormalizationTest.txt |
๐
๐
ฅ๐
ฑโ๐
๐
ฅ๐
ฑ
|
17 B | |
| 004060 | unicode/part1/U+1D164 NormalizationTest.txt |
๐
๐
ฅ๐
ฒโ๐
๐
ฅ๐
ฒ
|
17 B | |
| 004061 | unicode/part1/U+1D1BB NormalizationTest.txt |
๐น๐
ฅโ๐น๐
ฅ
|
13 B | |
| 004062 | unicode/part1/U+1D1BC NormalizationTest.txt |
๐บ๐
ฅโ๐บ๐
ฅ
|
13 B | |
| 004063 | unicode/part1/U+1D1BD NormalizationTest.txt |
๐น๐
ฅ๐
ฎโ๐น๐
ฅ๐
ฎ
|
17 B | |
| 004064 | unicode/part1/U+1D1BE NormalizationTest.txt |
๐บ๐
ฅ๐
ฎโ๐บ๐
ฅ๐
ฎ
|
17 B | |
| 004065 | unicode/part1/U+1D1BF NormalizationTest.txt |
๐น๐
ฅ๐
ฏโ๐น๐
ฅ๐
ฏ
|
17 B | |
| 004066 | unicode/part1/U+1D1C0 NormalizationTest.txt |
๐บ๐
ฅ๐
ฏโ๐บ๐
ฅ๐
ฏ
|
17 B | |
| 004067 | unicode/part1/U+1D400 NormalizationTest.txt |
๐โA
|
6 B | |
| 004068 | unicode/part1/U+1D401 NormalizationTest.txt |
๐โB
|
6 B | |
| 004069 | unicode/part1/U+1D402 NormalizationTest.txt |
๐โC
|
6 B | |
| 004070 | unicode/part1/U+1D403 NormalizationTest.txt |
๐โD
|
6 B | |
| 004071 | unicode/part1/U+1D404 NormalizationTest.txt |
๐โE
|
6 B | |
| 004072 | unicode/part1/U+1D405 NormalizationTest.txt |
๐
โF
|
6 B | |
| 004073 | unicode/part1/U+1D406 NormalizationTest.txt |
๐โG
|
6 B | |
| 004074 | unicode/part1/U+1D407 NormalizationTest.txt |
๐โH
|
6 B | |
| 004075 | unicode/part1/U+1D408 NormalizationTest.txt |
๐โI
|
6 B | |
| 004076 | unicode/part1/U+1D409 NormalizationTest.txt |
๐โJ
|
6 B | |
| 004077 | unicode/part1/U+1D40A NormalizationTest.txt |
๐โK
|
6 B | |
| 004078 | unicode/part1/U+1D40B NormalizationTest.txt |
๐โL
|
6 B | |
| 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 |
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