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 |
|---|---|---|---|---|
| 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 | |
| 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 |
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