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
956 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 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 | |
| 001704 | unicode/part1/U+304C NormalizationTest.txt |
が␊が
|
10 B | |
| 001705 | unicode/part1/U+304E NormalizationTest.txt |
ぎ␊ぎ
|
10 B | |
| 001706 | unicode/part1/U+3050 NormalizationTest.txt |
ぐ␊ぐ
|
10 B | |
| 001707 | unicode/part1/U+3052 NormalizationTest.txt |
げ␊げ
|
10 B | |
| 001708 | unicode/part1/U+3054 NormalizationTest.txt |
ご␊ご
|
10 B | |
| 001709 | unicode/part1/U+3056 NormalizationTest.txt |
ざ␊ざ
|
10 B | |
| 001710 | unicode/part1/U+3058 NormalizationTest.txt |
じ␊じ
|
10 B | |
| 001711 | unicode/part1/U+305A NormalizationTest.txt |
ず␊ず
|
10 B | |
| 001712 | unicode/part1/U+305C NormalizationTest.txt |
ぜ␊ぜ
|
10 B | |
| 001713 | unicode/part1/U+305E NormalizationTest.txt |
ぞ␊ぞ
|
10 B | |
| 001714 | unicode/part1/U+3060 NormalizationTest.txt |
だ␊だ
|
10 B | |
| 001715 | unicode/part1/U+3062 NormalizationTest.txt |
ぢ␊ぢ
|
10 B | |
| 001716 | unicode/part1/U+3065 NormalizationTest.txt |
づ␊づ
|
10 B | |
| 001717 | unicode/part1/U+3067 NormalizationTest.txt |
で␊で
|
10 B | |
| 001718 | unicode/part1/U+3069 NormalizationTest.txt |
ど␊ど
|
10 B | |
| 001719 | unicode/part1/U+3070 NormalizationTest.txt |
ば␊ば
|
10 B | |
| 001720 | unicode/part1/U+3071 NormalizationTest.txt |
ぱ␊ぱ
|
10 B | |
| 001721 | unicode/part1/U+3073 NormalizationTest.txt |
び␊び
|
10 B | |
| 001722 | unicode/part1/U+3074 NormalizationTest.txt |
ぴ␊ぴ
|
10 B | |
| 001723 | unicode/part1/U+3076 NormalizationTest.txt |
ぶ␊ぶ
|
10 B | |
| 001724 | unicode/part1/U+3077 NormalizationTest.txt |
ぷ␊ぷ
|
10 B | |
| 001725 | unicode/part1/U+3079 NormalizationTest.txt |
べ␊べ
|
10 B | |
| 001726 | unicode/part1/U+307A NormalizationTest.txt |
ぺ␊ぺ
|
10 B | |
| 001727 | unicode/part1/U+307C NormalizationTest.txt |
ぼ␊ぼ
|
10 B | |
| 001728 | unicode/part1/U+307D NormalizationTest.txt |
ぽ␊ぽ
|
10 B | |
| 001729 | unicode/part1/U+3094 NormalizationTest.txt |
ゔ␊ゔ
|
10 B | |
| 001732 | unicode/part1/U+309E NormalizationTest.txt |
ゞ␊ゞ
|
10 B | |
| 001734 | unicode/part1/U+30AC NormalizationTest.txt |
ガ␊ガ
|
10 B | |
| 001735 | unicode/part1/U+30AE NormalizationTest.txt |
ギ␊ギ
|
10 B | |
| 001736 | unicode/part1/U+30B0 NormalizationTest.txt |
グ␊グ
|
10 B | |
| 001737 | unicode/part1/U+30B2 NormalizationTest.txt |
ゲ␊ゲ
|
10 B | |
| 001738 | unicode/part1/U+30B4 NormalizationTest.txt |
ゴ␊ゴ
|
10 B | |
| 001739 | unicode/part1/U+30B6 NormalizationTest.txt |
ザ␊ザ
|
10 B | |
| 001740 | unicode/part1/U+30B8 NormalizationTest.txt |
ジ␊ジ
|
10 B | |
| 001741 | unicode/part1/U+30BA NormalizationTest.txt |
ズ␊ズ
|
10 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