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 |
|---|---|---|---|---|
| 001839 | unicode/part1/U+317A NormalizationTest.txt |
ㅺ␊ᄭ
|
7 B | |
| 001840 | unicode/part1/U+317B NormalizationTest.txt |
ㅻ␊ᄮ
|
7 B | |
| 001841 | unicode/part1/U+317C NormalizationTest.txt |
ㅼ␊ᄯ
|
7 B | |
| 001842 | unicode/part1/U+317D NormalizationTest.txt |
ㅽ␊ᄲ
|
7 B | |
| 001843 | unicode/part1/U+317E NormalizationTest.txt |
ㅾ␊ᄶ
|
7 B | |
| 001844 | unicode/part1/U+317F NormalizationTest.txt |
ㅿ␊ᅀ
|
7 B | |
| 001845 | unicode/part1/U+3180 NormalizationTest.txt |
ㆀ␊ᅇ
|
7 B | |
| 001846 | unicode/part1/U+3181 NormalizationTest.txt |
ㆁ␊ᅌ
|
7 B | |
| 001847 | unicode/part1/U+3182 NormalizationTest.txt |
ㆂ␊ᇱ
|
7 B | |
| 001848 | unicode/part1/U+3183 NormalizationTest.txt |
ㆃ␊ᇲ
|
7 B | |
| 001849 | unicode/part1/U+3184 NormalizationTest.txt |
ㆄ␊ᅗ
|
7 B | |
| 001850 | unicode/part1/U+3185 NormalizationTest.txt |
ㆅ␊ᅘ
|
7 B | |
| 001851 | unicode/part1/U+3186 NormalizationTest.txt |
ㆆ␊ᅙ
|
7 B | |
| 001852 | unicode/part1/U+3187 NormalizationTest.txt |
ㆇ␊ᆄ
|
7 B | |
| 001853 | unicode/part1/U+3188 NormalizationTest.txt |
ㆈ␊ᆅ
|
7 B | |
| 001854 | unicode/part1/U+3189 NormalizationTest.txt |
ㆉ␊ᆈ
|
7 B | |
| 001855 | unicode/part1/U+318A NormalizationTest.txt |
ㆊ␊ᆑ
|
7 B | |
| 001856 | unicode/part1/U+318B NormalizationTest.txt |
ㆋ␊ᆒ
|
7 B | |
| 001857 | unicode/part1/U+318C NormalizationTest.txt |
ㆌ␊ᆔ
|
7 B | |
| 001858 | unicode/part1/U+318D NormalizationTest.txt |
ㆍ␊ᆞ
|
7 B | |
| 001859 | unicode/part1/U+318E NormalizationTest.txt |
ㆎ␊ᆡ
|
7 B | |
| 001860 | unicode/part1/U+3192 NormalizationTest.txt |
㆒␊一
|
7 B | |
| 001861 | unicode/part1/U+3193 NormalizationTest.txt |
㆓␊二
|
7 B | |
| 001862 | unicode/part1/U+3194 NormalizationTest.txt |
㆔␊三
|
7 B | |
| 001863 | unicode/part1/U+3195 NormalizationTest.txt |
㆕␊四
|
7 B | |
| 001864 | unicode/part1/U+3196 NormalizationTest.txt |
㆖␊上
|
7 B | |
| 001865 | unicode/part1/U+3197 NormalizationTest.txt |
㆗␊中
|
7 B | |
| 001866 | unicode/part1/U+3198 NormalizationTest.txt |
㆘␊下
|
7 B | |
| 001867 | unicode/part1/U+3199 NormalizationTest.txt |
㆙␊甲
|
7 B | |
| 001868 | unicode/part1/U+319A NormalizationTest.txt |
㆚␊乙
|
7 B | |
| 001869 | unicode/part1/U+319B NormalizationTest.txt |
㆛␊丙
|
7 B | |
| 001870 | unicode/part1/U+319C NormalizationTest.txt |
㆜␊丁
|
7 B | |
| 001871 | unicode/part1/U+319D NormalizationTest.txt |
㆝␊天
|
7 B | |
| 001872 | unicode/part1/U+319E NormalizationTest.txt |
㆞␊地
|
7 B | |
| 001873 | unicode/part1/U+319F NormalizationTest.txt |
㆟␊人
|
7 B | |
| 001874 | unicode/part1/U+3200 NormalizationTest.txt |
㈀␊(ᄀ)
|
9 B | |
| 001875 | unicode/part1/U+3201 NormalizationTest.txt |
㈁␊(ᄂ)
|
9 B | |
| 001876 | unicode/part1/U+3202 NormalizationTest.txt |
㈂␊(ᄃ)
|
9 B | |
| 001877 | unicode/part1/U+3203 NormalizationTest.txt |
㈃␊(ᄅ)
|
9 B | |
| 001878 | unicode/part1/U+3204 NormalizationTest.txt |
㈄␊(ᄆ)
|
9 B | |
| 001879 | unicode/part1/U+3205 NormalizationTest.txt |
㈅␊(ᄇ)
|
9 B | |
| 001880 | unicode/part1/U+3206 NormalizationTest.txt |
㈆␊(ᄉ)
|
9 B | |
| 001881 | unicode/part1/U+3207 NormalizationTest.txt |
㈇␊(ᄋ)
|
9 B | |
| 001882 | unicode/part1/U+3208 NormalizationTest.txt |
㈈␊(ᄌ)
|
9 B | |
| 001883 | unicode/part1/U+3209 NormalizationTest.txt |
㈉␊(ᄎ)
|
9 B | |
| 001884 | unicode/part1/U+320A NormalizationTest.txt |
㈊␊(ᄏ)
|
9 B | |
| 001885 | unicode/part1/U+320B NormalizationTest.txt |
㈋␊(ᄐ)
|
9 B | |
| 001886 | unicode/part1/U+320C NormalizationTest.txt |
㈌␊(ᄑ)
|
9 B | |
| 001887 | unicode/part1/U+320D NormalizationTest.txt |
㈍␊(ᄒ)
|
9 B | |
| 001888 | unicode/part1/U+320E NormalizationTest.txt |
㈎␊(가)␊(가)
|
18 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