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 |
|---|---|---|---|---|
| 001989 | unicode/part1/U+327C NormalizationTest.txt |
㉼␊참고␊참고
|
26 B | |
| 001990 | unicode/part1/U+327D NormalizationTest.txt |
㉽␊주의␊주의
|
23 B | |
| 001991 | unicode/part1/U+327E NormalizationTest.txt |
㉾␊우␊우
|
14 B | |
| 001992 | unicode/part1/U+3280 NormalizationTest.txt |
㊀␊一
|
7 B | |
| 001993 | unicode/part1/U+3281 NormalizationTest.txt |
㊁␊二
|
7 B | |
| 001994 | unicode/part1/U+3282 NormalizationTest.txt |
㊂␊三
|
7 B | |
| 001995 | unicode/part1/U+3283 NormalizationTest.txt |
㊃␊四
|
7 B | |
| 001996 | unicode/part1/U+3284 NormalizationTest.txt |
㊄␊五
|
7 B | |
| 001997 | unicode/part1/U+3285 NormalizationTest.txt |
㊅␊六
|
7 B | |
| 001998 | unicode/part1/U+3286 NormalizationTest.txt |
㊆␊七
|
7 B | |
| 001999 | unicode/part1/U+3287 NormalizationTest.txt |
㊇␊八
|
7 B | |
| 002000 | unicode/part1/U+3288 NormalizationTest.txt |
㊈␊九
|
7 B | |
| 002001 | unicode/part1/U+3289 NormalizationTest.txt |
㊉␊十
|
7 B | |
| 002002 | unicode/part1/U+328A NormalizationTest.txt |
㊊␊月
|
7 B | |
| 002003 | unicode/part1/U+328B NormalizationTest.txt |
㊋␊火
|
7 B | |
| 002004 | unicode/part1/U+328C NormalizationTest.txt |
㊌␊水
|
7 B | |
| 002005 | unicode/part1/U+328D NormalizationTest.txt |
㊍␊木
|
7 B | |
| 002006 | unicode/part1/U+328E NormalizationTest.txt |
㊎␊金
|
7 B | |
| 002007 | unicode/part1/U+328F NormalizationTest.txt |
㊏␊土
|
7 B | |
| 002008 | unicode/part1/U+3290 NormalizationTest.txt |
㊐␊日
|
7 B | |
| 002009 | unicode/part1/U+3291 NormalizationTest.txt |
㊑␊株
|
7 B | |
| 002010 | unicode/part1/U+3292 NormalizationTest.txt |
㊒␊有
|
7 B | |
| 002011 | unicode/part1/U+3293 NormalizationTest.txt |
㊓␊社
|
7 B | |
| 002012 | unicode/part1/U+3294 NormalizationTest.txt |
㊔␊名
|
7 B | |
| 002013 | unicode/part1/U+3295 NormalizationTest.txt |
㊕␊特
|
7 B | |
| 002014 | unicode/part1/U+3296 NormalizationTest.txt |
㊖␊財
|
7 B | |
| 002015 | unicode/part1/U+3297 NormalizationTest.txt |
㊗␊祝
|
7 B | |
| 002016 | unicode/part1/U+3298 NormalizationTest.txt |
㊘␊労
|
7 B | |
| 002017 | unicode/part1/U+3299 NormalizationTest.txt |
㊙␊秘
|
7 B | |
| 002018 | unicode/part1/U+329A NormalizationTest.txt |
㊚␊男
|
7 B | |
| 002019 | unicode/part1/U+329B NormalizationTest.txt |
㊛␊女
|
7 B | |
| 002020 | unicode/part1/U+329C NormalizationTest.txt |
㊜␊適
|
7 B | |
| 002021 | unicode/part1/U+329D NormalizationTest.txt |
㊝␊優
|
7 B | |
| 002022 | unicode/part1/U+329E NormalizationTest.txt |
㊞␊印
|
7 B | |
| 002023 | unicode/part1/U+329F NormalizationTest.txt |
㊟␊注
|
7 B | |
| 002024 | unicode/part1/U+32A0 NormalizationTest.txt |
㊠␊項
|
7 B | |
| 002025 | unicode/part1/U+32A1 NormalizationTest.txt |
㊡␊休
|
7 B | |
| 002026 | unicode/part1/U+32A2 NormalizationTest.txt |
㊢␊写
|
7 B | |
| 002027 | unicode/part1/U+32A3 NormalizationTest.txt |
㊣␊正
|
7 B | |
| 002028 | unicode/part1/U+32A4 NormalizationTest.txt |
㊤␊上
|
7 B | |
| 002029 | unicode/part1/U+32A5 NormalizationTest.txt |
㊥␊中
|
7 B | |
| 002030 | unicode/part1/U+32A6 NormalizationTest.txt |
㊦␊下
|
7 B | |
| 002031 | unicode/part1/U+32A7 NormalizationTest.txt |
㊧␊左
|
7 B | |
| 002032 | unicode/part1/U+32A8 NormalizationTest.txt |
㊨␊右
|
7 B | |
| 002033 | unicode/part1/U+32A9 NormalizationTest.txt |
㊩␊医
|
7 B | |
| 002034 | unicode/part1/U+32AA NormalizationTest.txt |
㊪␊宗
|
7 B | |
| 002035 | unicode/part1/U+32AB NormalizationTest.txt |
㊫␊学
|
7 B | |
| 002036 | unicode/part1/U+32AC NormalizationTest.txt |
㊬␊監
|
7 B | |
| 002037 | unicode/part1/U+32AD NormalizationTest.txt |
㊭␊企
|
7 B | |
| 002038 | unicode/part1/U+32AE NormalizationTest.txt |
㊮␊資
|
7 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