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 |
|---|---|---|---|---|
| 001300 | unicode/part1/U+2230 NormalizationTest.txt |
∰␊∮∮∮
|
13 B | |
| 001301 | unicode/part1/U+2241 NormalizationTest.txt |
≁␊≁
|
9 B | |
| 001302 | unicode/part1/U+2244 NormalizationTest.txt |
≄␊≄
|
9 B | |
| 001303 | unicode/part1/U+2247 NormalizationTest.txt |
≇␊≇
|
9 B | |
| 001304 | unicode/part1/U+2249 NormalizationTest.txt |
≉␊≉
|
9 B | |
| 001305 | unicode/part1/U+2260 NormalizationTest.txt |
≠␊≠
|
7 B | |
| 001306 | unicode/part1/U+2262 NormalizationTest.txt |
≢␊≢
|
9 B | |
| 001307 | unicode/part1/U+226D NormalizationTest.txt |
≭␊≭
|
9 B | |
| 001308 | unicode/part1/U+226E NormalizationTest.txt |
≮␊≮
|
7 B | |
| 001309 | unicode/part1/U+226F NormalizationTest.txt |
≯␊≯
|
7 B | |
| 001310 | unicode/part1/U+2270 NormalizationTest.txt |
≰␊≰
|
9 B | |
| 001311 | unicode/part1/U+2271 NormalizationTest.txt |
≱␊≱
|
9 B | |
| 001312 | unicode/part1/U+2274 NormalizationTest.txt |
≴␊≴
|
9 B | |
| 001313 | unicode/part1/U+2275 NormalizationTest.txt |
≵␊≵
|
9 B | |
| 001314 | unicode/part1/U+2278 NormalizationTest.txt |
≸␊≸
|
9 B | |
| 001315 | unicode/part1/U+2279 NormalizationTest.txt |
≹␊≹
|
9 B | |
| 001316 | unicode/part1/U+2280 NormalizationTest.txt |
⊀␊⊀
|
9 B | |
| 001317 | unicode/part1/U+2281 NormalizationTest.txt |
⊁␊⊁
|
9 B | |
| 001318 | unicode/part1/U+2284 NormalizationTest.txt |
⊄␊⊄
|
9 B | |
| 001319 | unicode/part1/U+2285 NormalizationTest.txt |
⊅␊⊅
|
9 B | |
| 001320 | unicode/part1/U+2288 NormalizationTest.txt |
⊈␊⊈
|
9 B | |
| 001321 | unicode/part1/U+2289 NormalizationTest.txt |
⊉␊⊉
|
9 B | |
| 001322 | unicode/part1/U+22AC NormalizationTest.txt |
⊬␊⊬
|
9 B | |
| 001323 | unicode/part1/U+22AD NormalizationTest.txt |
⊭␊⊭
|
9 B | |
| 001324 | unicode/part1/U+22AE NormalizationTest.txt |
⊮␊⊮
|
9 B | |
| 001325 | unicode/part1/U+22AF NormalizationTest.txt |
⊯␊⊯
|
9 B | |
| 001326 | unicode/part1/U+22E0 NormalizationTest.txt |
⋠␊⋠
|
9 B | |
| 001327 | unicode/part1/U+22E1 NormalizationTest.txt |
⋡␊⋡
|
9 B | |
| 001328 | unicode/part1/U+22E2 NormalizationTest.txt |
⋢␊⋢
|
9 B | |
| 001329 | unicode/part1/U+22E3 NormalizationTest.txt |
⋣␊⋣
|
9 B | |
| 001330 | unicode/part1/U+22EA NormalizationTest.txt |
⋪␊⋪
|
9 B | |
| 001331 | unicode/part1/U+22EB NormalizationTest.txt |
⋫␊⋫
|
9 B | |
| 001332 | unicode/part1/U+22EC NormalizationTest.txt |
⋬␊⋬
|
9 B | |
| 001333 | unicode/part1/U+22ED NormalizationTest.txt |
⋭␊⋭
|
9 B | |
| 001334 | unicode/part1/U+2329 NormalizationTest.txt |
〈␊〈
|
7 B | |
| 001335 | unicode/part1/U+232A NormalizationTest.txt |
〉␊〉
|
7 B | |
| 001336 | unicode/part1/U+2460 NormalizationTest.txt |
①␊1
|
5 B | |
| 001337 | unicode/part1/U+2461 NormalizationTest.txt |
②␊2
|
5 B | |
| 001338 | unicode/part1/U+2462 NormalizationTest.txt |
③␊3
|
5 B | |
| 001339 | unicode/part1/U+2463 NormalizationTest.txt |
④␊4
|
5 B | |
| 001340 | unicode/part1/U+2464 NormalizationTest.txt |
⑤␊5
|
5 B | |
| 001341 | unicode/part1/U+2465 NormalizationTest.txt |
⑥␊6
|
5 B | |
| 001342 | unicode/part1/U+2466 NormalizationTest.txt |
⑦␊7
|
5 B | |
| 001343 | unicode/part1/U+2467 NormalizationTest.txt |
⑧␊8
|
5 B | |
| 001344 | unicode/part1/U+2468 NormalizationTest.txt |
⑨␊9
|
5 B | |
| 001345 | unicode/part1/U+2469 NormalizationTest.txt |
⑩␊10
|
6 B | |
| 001346 | unicode/part1/U+246A NormalizationTest.txt |
⑪␊11
|
6 B | |
| 001347 | unicode/part1/U+246B NormalizationTest.txt |
⑫␊12
|
6 B | |
| 001348 | unicode/part1/U+246C NormalizationTest.txt |
⑬␊13
|
6 B | |
| 001349 | unicode/part1/U+246D NormalizationTest.txt |
⑭␊14
|
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