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
1,049 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 005419 | unicode/part1/U+2F807 NormalizationTest.txt |
倂␊倂
|
8 B | |
| 005420 | unicode/part1/U+2F808 NormalizationTest.txt |
偺␊偺
|
8 B | |
| 005421 | unicode/part1/U+2F809 NormalizationTest.txt |
備␊備
|
8 B | |
| 005422 | unicode/part1/U+2F80A NormalizationTest.txt |
僧␊僧
|
8 B | |
| 005423 | unicode/part1/U+2F80B NormalizationTest.txt |
像␊像
|
8 B | |
| 005424 | unicode/part1/U+2F80C NormalizationTest.txt |
㒞␊㒞
|
8 B | |
| 005425 | unicode/part1/U+2F80D NormalizationTest.txt |
𠘺␊𠘺
|
9 B | |
| 005426 | unicode/part1/U+2F80E NormalizationTest.txt |
免␊免
|
8 B | |
| 005427 | unicode/part1/U+2F80F NormalizationTest.txt |
兔␊兔
|
8 B | |
| 005428 | unicode/part1/U+2F810 NormalizationTest.txt |
兤␊兤
|
8 B | |
| 005429 | unicode/part1/U+2F811 NormalizationTest.txt |
具␊具
|
8 B | |
| 005430 | unicode/part1/U+2F812 NormalizationTest.txt |
𠔜␊𠔜
|
9 B | |
| 005431 | unicode/part1/U+2F813 NormalizationTest.txt |
㒹␊㒹
|
8 B | |
| 005432 | unicode/part1/U+2F814 NormalizationTest.txt |
內␊內
|
8 B | |
| 005433 | unicode/part1/U+2F815 NormalizationTest.txt |
再␊再
|
8 B | |
| 005434 | unicode/part1/U+2F816 NormalizationTest.txt |
𠕋␊𠕋
|
9 B | |
| 005435 | unicode/part1/U+2F817 NormalizationTest.txt |
冗␊冗
|
8 B | |
| 005436 | unicode/part1/U+2F818 NormalizationTest.txt |
冤␊冤
|
8 B | |
| 005437 | unicode/part1/U+2F819 NormalizationTest.txt |
仌␊仌
|
8 B | |
| 005438 | unicode/part1/U+2F81A NormalizationTest.txt |
冬␊冬
|
8 B | |
| 005439 | unicode/part1/U+2F81B NormalizationTest.txt |
况␊况
|
8 B | |
| 005440 | unicode/part1/U+2F81C NormalizationTest.txt |
𩇟␊𩇟
|
9 B | |
| 005441 | unicode/part1/U+2F81D NormalizationTest.txt |
凵␊凵
|
8 B | |
| 005442 | unicode/part1/U+2F81E NormalizationTest.txt |
刃␊刃
|
8 B | |
| 005443 | unicode/part1/U+2F81F NormalizationTest.txt |
㓟␊㓟
|
8 B | |
| 005444 | unicode/part1/U+2F820 NormalizationTest.txt |
刻␊刻
|
8 B | |
| 005445 | unicode/part1/U+2F821 NormalizationTest.txt |
剆␊剆
|
8 B | |
| 005446 | unicode/part1/U+2F822 NormalizationTest.txt |
割␊割
|
8 B | |
| 005447 | unicode/part1/U+2F823 NormalizationTest.txt |
剷␊剷
|
8 B | |
| 005448 | unicode/part1/U+2F824 NormalizationTest.txt |
㔕␊㔕
|
8 B | |
| 005449 | unicode/part1/U+2F825 NormalizationTest.txt |
勇␊勇
|
8 B | |
| 005450 | unicode/part1/U+2F826 NormalizationTest.txt |
勉␊勉
|
8 B | |
| 005451 | unicode/part1/U+2F827 NormalizationTest.txt |
勤␊勤
|
8 B | |
| 005452 | unicode/part1/U+2F828 NormalizationTest.txt |
勺␊勺
|
8 B | |
| 005453 | unicode/part1/U+2F829 NormalizationTest.txt |
包␊包
|
8 B | |
| 005454 | unicode/part1/U+2F82A NormalizationTest.txt |
匆␊匆
|
8 B | |
| 005455 | unicode/part1/U+2F82B NormalizationTest.txt |
北␊北
|
8 B | |
| 005456 | unicode/part1/U+2F82C NormalizationTest.txt |
卉␊卉
|
8 B | |
| 005457 | unicode/part1/U+2F82D NormalizationTest.txt |
卑␊卑
|
8 B | |
| 005458 | unicode/part1/U+2F82E NormalizationTest.txt |
博␊博
|
8 B | |
| 005459 | unicode/part1/U+2F82F NormalizationTest.txt |
即␊即
|
8 B | |
| 005460 | unicode/part1/U+2F830 NormalizationTest.txt |
卽␊卽
|
8 B | |
| 005461 | unicode/part1/U+2F831 NormalizationTest.txt |
卿␊卿
|
8 B | |
| 005462 | unicode/part1/U+2F832 NormalizationTest.txt |
卿␊卿
|
8 B | |
| 005463 | unicode/part1/U+2F833 NormalizationTest.txt |
卿␊卿
|
8 B | |
| 005464 | unicode/part1/U+2F834 NormalizationTest.txt |
𠨬␊𠨬
|
9 B | |
| 005465 | unicode/part1/U+2F835 NormalizationTest.txt |
灰␊灰
|
8 B | |
| 005466 | unicode/part1/U+2F836 NormalizationTest.txt |
及␊及
|
8 B | |
| 005467 | unicode/part1/U+2F837 NormalizationTest.txt |
叟␊叟
|
8 B | |
| 005468 | unicode/part1/U+2F838 NormalizationTest.txt |
𠭣␊𠭣
|
9 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