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 |
|---|---|---|---|---|
| 001939 | unicode/part1/U+3242 NormalizationTest.txt |
㉂␊(自)
|
9 B | |
| 001940 | unicode/part1/U+3243 NormalizationTest.txt |
㉃␊(至)
|
9 B | |
| 001941 | unicode/part1/U+3244 NormalizationTest.txt |
㉄␊問
|
7 B | |
| 001942 | unicode/part1/U+3245 NormalizationTest.txt |
㉅␊幼
|
7 B | |
| 001943 | unicode/part1/U+3246 NormalizationTest.txt |
㉆␊文
|
7 B | |
| 001944 | unicode/part1/U+3247 NormalizationTest.txt |
㉇␊箏
|
7 B | |
| 001945 | unicode/part1/U+3250 NormalizationTest.txt |
㉐␊PTE
|
7 B | |
| 001946 | unicode/part1/U+3251 NormalizationTest.txt |
㉑␊21
|
6 B | |
| 001947 | unicode/part1/U+3252 NormalizationTest.txt |
㉒␊22
|
6 B | |
| 001948 | unicode/part1/U+3253 NormalizationTest.txt |
㉓␊23
|
6 B | |
| 001949 | unicode/part1/U+3254 NormalizationTest.txt |
㉔␊24
|
6 B | |
| 001950 | unicode/part1/U+3255 NormalizationTest.txt |
㉕␊25
|
6 B | |
| 001951 | unicode/part1/U+3256 NormalizationTest.txt |
㉖␊26
|
6 B | |
| 001952 | unicode/part1/U+3257 NormalizationTest.txt |
㉗␊27
|
6 B | |
| 001953 | unicode/part1/U+3258 NormalizationTest.txt |
㉘␊28
|
6 B | |
| 001954 | unicode/part1/U+3259 NormalizationTest.txt |
㉙␊29
|
6 B | |
| 001955 | unicode/part1/U+325A NormalizationTest.txt |
㉚␊30
|
6 B | |
| 001956 | unicode/part1/U+325B NormalizationTest.txt |
㉛␊31
|
6 B | |
| 001957 | unicode/part1/U+325C NormalizationTest.txt |
㉜␊32
|
6 B | |
| 001958 | unicode/part1/U+325D NormalizationTest.txt |
㉝␊33
|
6 B | |
| 001959 | unicode/part1/U+325E NormalizationTest.txt |
㉞␊34
|
6 B | |
| 001960 | unicode/part1/U+325F NormalizationTest.txt |
㉟␊35
|
6 B | |
| 001961 | unicode/part1/U+3260 NormalizationTest.txt |
㉠␊ᄀ
|
7 B | |
| 001962 | unicode/part1/U+3261 NormalizationTest.txt |
㉡␊ᄂ
|
7 B | |
| 001963 | unicode/part1/U+3262 NormalizationTest.txt |
㉢␊ᄃ
|
7 B | |
| 001964 | unicode/part1/U+3263 NormalizationTest.txt |
㉣␊ᄅ
|
7 B | |
| 001965 | unicode/part1/U+3264 NormalizationTest.txt |
㉤␊ᄆ
|
7 B | |
| 001966 | unicode/part1/U+3265 NormalizationTest.txt |
㉥␊ᄇ
|
7 B | |
| 001967 | unicode/part1/U+3266 NormalizationTest.txt |
㉦␊ᄉ
|
7 B | |
| 001968 | unicode/part1/U+3267 NormalizationTest.txt |
㉧␊ᄋ
|
7 B | |
| 001969 | unicode/part1/U+3268 NormalizationTest.txt |
㉨␊ᄌ
|
7 B | |
| 001970 | unicode/part1/U+3269 NormalizationTest.txt |
㉩␊ᄎ
|
7 B | |
| 001971 | unicode/part1/U+326A NormalizationTest.txt |
㉪␊ᄏ
|
7 B | |
| 001972 | unicode/part1/U+326B NormalizationTest.txt |
㉫␊ᄐ
|
7 B | |
| 001973 | unicode/part1/U+326C NormalizationTest.txt |
㉬␊ᄑ
|
7 B | |
| 001974 | unicode/part1/U+326D NormalizationTest.txt |
㉭␊ᄒ
|
7 B | |
| 001975 | unicode/part1/U+326E NormalizationTest.txt |
㉮␊가␊가
|
14 B | |
| 001976 | unicode/part1/U+326F NormalizationTest.txt |
㉯␊나␊나
|
14 B | |
| 001977 | unicode/part1/U+3270 NormalizationTest.txt |
㉰␊다␊다
|
14 B | |
| 001978 | unicode/part1/U+3271 NormalizationTest.txt |
㉱␊라␊라
|
14 B | |
| 001979 | unicode/part1/U+3272 NormalizationTest.txt |
㉲␊마␊마
|
14 B | |
| 001980 | unicode/part1/U+3273 NormalizationTest.txt |
㉳␊바␊바
|
14 B | |
| 001981 | unicode/part1/U+3274 NormalizationTest.txt |
㉴␊사␊사
|
14 B | |
| 001982 | unicode/part1/U+3275 NormalizationTest.txt |
㉵␊아␊아
|
14 B | |
| 001983 | unicode/part1/U+3276 NormalizationTest.txt |
㉶␊자␊자
|
14 B | |
| 001984 | unicode/part1/U+3277 NormalizationTest.txt |
㉷␊차␊차
|
14 B | |
| 001985 | unicode/part1/U+3278 NormalizationTest.txt |
㉸␊카␊카
|
14 B | |
| 001986 | unicode/part1/U+3279 NormalizationTest.txt |
㉹␊타␊타
|
14 B | |
| 001987 | unicode/part1/U+327A NormalizationTest.txt |
㉺␊파␊파
|
14 B | |
| 001988 | unicode/part1/U+327B NormalizationTest.txt |
㉻␊하␊하
|
14 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