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 |
|---|---|---|---|---|
| 005619 | unicode/part1/U+2F8CF NormalizationTest.txt |
暑␊暑
|
8 B | |
| 005620 | unicode/part1/U+2F8D0 NormalizationTest.txt |
㬈␊㬈
|
8 B | |
| 005621 | unicode/part1/U+2F8D1 NormalizationTest.txt |
㫤␊㫤
|
8 B | |
| 005622 | unicode/part1/U+2F8D2 NormalizationTest.txt |
冒␊冒
|
8 B | |
| 005623 | unicode/part1/U+2F8D3 NormalizationTest.txt |
冕␊冕
|
8 B | |
| 005624 | unicode/part1/U+2F8D4 NormalizationTest.txt |
最␊最
|
8 B | |
| 005625 | unicode/part1/U+2F8D5 NormalizationTest.txt |
暜␊暜
|
8 B | |
| 005626 | unicode/part1/U+2F8D6 NormalizationTest.txt |
肭␊肭
|
8 B | |
| 005627 | unicode/part1/U+2F8D7 NormalizationTest.txt |
䏙␊䏙
|
8 B | |
| 005628 | unicode/part1/U+2F8D8 NormalizationTest.txt |
朗␊朗
|
8 B | |
| 005629 | unicode/part1/U+2F8D9 NormalizationTest.txt |
望␊望
|
8 B | |
| 005630 | unicode/part1/U+2F8DA NormalizationTest.txt |
朡␊朡
|
8 B | |
| 005631 | unicode/part1/U+2F8DB NormalizationTest.txt |
杞␊杞
|
8 B | |
| 005632 | unicode/part1/U+2F8DC NormalizationTest.txt |
杓␊杓
|
8 B | |
| 005633 | unicode/part1/U+2F8DD NormalizationTest.txt |
𣏃␊𣏃
|
9 B | |
| 005634 | unicode/part1/U+2F8DE NormalizationTest.txt |
㭉␊㭉
|
8 B | |
| 005635 | unicode/part1/U+2F8DF NormalizationTest.txt |
柺␊柺
|
8 B | |
| 005636 | unicode/part1/U+2F8E0 NormalizationTest.txt |
枅␊枅
|
8 B | |
| 005637 | unicode/part1/U+2F8E1 NormalizationTest.txt |
桒␊桒
|
8 B | |
| 005638 | unicode/part1/U+2F8E2 NormalizationTest.txt |
梅␊梅
|
8 B | |
| 005639 | unicode/part1/U+2F8E3 NormalizationTest.txt |
𣑭␊𣑭
|
9 B | |
| 005640 | unicode/part1/U+2F8E4 NormalizationTest.txt |
梎␊梎
|
8 B | |
| 005641 | unicode/part1/U+2F8E5 NormalizationTest.txt |
栟␊栟
|
8 B | |
| 005642 | unicode/part1/U+2F8E6 NormalizationTest.txt |
椔␊椔
|
8 B | |
| 005643 | unicode/part1/U+2F8E7 NormalizationTest.txt |
㮝␊㮝
|
8 B | |
| 005644 | unicode/part1/U+2F8E8 NormalizationTest.txt |
楂␊楂
|
8 B | |
| 005645 | unicode/part1/U+2F8E9 NormalizationTest.txt |
榣␊榣
|
8 B | |
| 005646 | unicode/part1/U+2F8EA NormalizationTest.txt |
槪␊槪
|
8 B | |
| 005647 | unicode/part1/U+2F8EB NormalizationTest.txt |
檨␊檨
|
8 B | |
| 005648 | unicode/part1/U+2F8EC NormalizationTest.txt |
𣚣␊𣚣
|
9 B | |
| 005649 | unicode/part1/U+2F8ED NormalizationTest.txt |
櫛␊櫛
|
8 B | |
| 005650 | unicode/part1/U+2F8EE NormalizationTest.txt |
㰘␊㰘
|
8 B | |
| 005651 | unicode/part1/U+2F8EF NormalizationTest.txt |
次␊次
|
8 B | |
| 005652 | unicode/part1/U+2F8F0 NormalizationTest.txt |
𣢧␊𣢧
|
9 B | |
| 005653 | unicode/part1/U+2F8F1 NormalizationTest.txt |
歔␊歔
|
8 B | |
| 005654 | unicode/part1/U+2F8F2 NormalizationTest.txt |
㱎␊㱎
|
8 B | |
| 005655 | unicode/part1/U+2F8F3 NormalizationTest.txt |
歲␊歲
|
8 B | |
| 005656 | unicode/part1/U+2F8F4 NormalizationTest.txt |
殟␊殟
|
8 B | |
| 005657 | unicode/part1/U+2F8F5 NormalizationTest.txt |
殺␊殺
|
8 B | |
| 005658 | unicode/part1/U+2F8F6 NormalizationTest.txt |
殻␊殻
|
8 B | |
| 005659 | unicode/part1/U+2F8F7 NormalizationTest.txt |
𣪍␊𣪍
|
9 B | |
| 005660 | unicode/part1/U+2F8F8 NormalizationTest.txt |
𡴋␊𡴋
|
9 B | |
| 005661 | unicode/part1/U+2F8F9 NormalizationTest.txt |
𣫺␊𣫺
|
9 B | |
| 005662 | unicode/part1/U+2F8FA NormalizationTest.txt |
汎␊汎
|
8 B | |
| 005663 | unicode/part1/U+2F8FB NormalizationTest.txt |
𣲼␊𣲼
|
9 B | |
| 005664 | unicode/part1/U+2F8FC NormalizationTest.txt |
沿␊沿
|
8 B | |
| 005665 | unicode/part1/U+2F8FD NormalizationTest.txt |
泍␊泍
|
8 B | |
| 005666 | unicode/part1/U+2F8FE NormalizationTest.txt |
汧␊汧
|
8 B | |
| 005667 | unicode/part1/U+2F8FF NormalizationTest.txt |
洖␊洖
|
8 B | |
| 005668 | unicode/part1/U+2F900 NormalizationTest.txt |
派␊派
|
8 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