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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 004695 | unicode/part1/U+1D68C NormalizationTest.txt |
๐โc
|
6 B | |
| 004696 | unicode/part1/U+1D68D NormalizationTest.txt |
๐โd
|
6 B | |
| 004697 | unicode/part1/U+1D68E NormalizationTest.txt |
๐โe
|
6 B | |
| 004698 | unicode/part1/U+1D68F NormalizationTest.txt |
๐โf
|
6 B | |
| 004699 | unicode/part1/U+1D690 NormalizationTest.txt |
๐โg
|
6 B | |
| 004700 | unicode/part1/U+1D691 NormalizationTest.txt |
๐โh
|
6 B | |
| 004701 | unicode/part1/U+1D692 NormalizationTest.txt |
๐โi
|
6 B | |
| 004702 | unicode/part1/U+1D693 NormalizationTest.txt |
๐โj
|
6 B | |
| 004703 | unicode/part1/U+1D694 NormalizationTest.txt |
๐โk
|
6 B | |
| 004704 | unicode/part1/U+1D695 NormalizationTest.txt |
๐โl
|
6 B | |
| 004705 | unicode/part1/U+1D696 NormalizationTest.txt |
๐โm
|
6 B | |
| 004706 | unicode/part1/U+1D697 NormalizationTest.txt |
๐โn
|
6 B | |
| 004707 | unicode/part1/U+1D698 NormalizationTest.txt |
๐โo
|
6 B | |
| 004708 | unicode/part1/U+1D699 NormalizationTest.txt |
๐โp
|
6 B | |
| 004709 | unicode/part1/U+1D69A NormalizationTest.txt |
๐โq
|
6 B | |
| 004710 | unicode/part1/U+1D69B NormalizationTest.txt |
๐โr
|
6 B | |
| 004711 | unicode/part1/U+1D69C NormalizationTest.txt |
๐โs
|
6 B | |
| 004712 | unicode/part1/U+1D69D NormalizationTest.txt |
๐โt
|
6 B | |
| 004713 | unicode/part1/U+1D69E NormalizationTest.txt |
๐โu
|
6 B | |
| 004714 | unicode/part1/U+1D69F NormalizationTest.txt |
๐โv
|
6 B | |
| 004715 | unicode/part1/U+1D6A0 NormalizationTest.txt |
๐ โw
|
6 B | |
| 004716 | unicode/part1/U+1D6A1 NormalizationTest.txt |
๐กโx
|
6 B | |
| 004717 | unicode/part1/U+1D6A2 NormalizationTest.txt |
๐ขโy
|
6 B | |
| 004718 | unicode/part1/U+1D6A3 NormalizationTest.txt |
๐ฃโz
|
6 B | |
| 004719 | unicode/part1/U+1D6A4 NormalizationTest.txt |
๐คโฤฑ
|
7 B | |
| 004720 | unicode/part1/U+1D6A5 NormalizationTest.txt |
๐ฅโศท
|
7 B | |
| 004721 | unicode/part1/U+1D6A8 NormalizationTest.txt |
๐จโฮ
|
7 B | |
| 004722 | unicode/part1/U+1D6A9 NormalizationTest.txt |
๐ฉโฮ
|
7 B | |
| 004723 | unicode/part1/U+1D6AA NormalizationTest.txt |
๐ชโฮ
|
7 B | |
| 004724 | unicode/part1/U+1D6AB NormalizationTest.txt |
๐ซโฮ
|
7 B | |
| 004725 | unicode/part1/U+1D6AC NormalizationTest.txt |
๐ฌโฮ
|
7 B | |
| 004726 | unicode/part1/U+1D6AD NormalizationTest.txt |
๐ญโฮ
|
7 B | |
| 004727 | unicode/part1/U+1D6AE NormalizationTest.txt |
๐ฎโฮ
|
7 B | |
| 004728 | unicode/part1/U+1D6AF NormalizationTest.txt |
๐ฏโฮ
|
7 B | |
| 004729 | unicode/part1/U+1D6B0 NormalizationTest.txt |
๐ฐโฮ
|
7 B | |
| 004730 | unicode/part1/U+1D6B1 NormalizationTest.txt |
๐ฑโฮ
|
7 B | |
| 004731 | unicode/part1/U+1D6B2 NormalizationTest.txt |
๐ฒโฮ
|
7 B | |
| 004732 | unicode/part1/U+1D6B3 NormalizationTest.txt |
๐ณโฮ
|
7 B | |
| 004733 | unicode/part1/U+1D6B4 NormalizationTest.txt |
๐ดโฮ
|
7 B | |
| 004734 | unicode/part1/U+1D6B5 NormalizationTest.txt |
๐ตโฮ
|
7 B | |
| 004735 | unicode/part1/U+1D6B6 NormalizationTest.txt |
๐ถโฮ
|
7 B | |
| 004736 | unicode/part1/U+1D6B7 NormalizationTest.txt |
๐ทโฮ
|
7 B | |
| 004737 | unicode/part1/U+1D6B8 NormalizationTest.txt |
๐ธโฮก
|
7 B | |
| 004738 | unicode/part1/U+1D6B9 NormalizationTest.txt |
๐นโฮ
|
7 B | |
| 004739 | unicode/part1/U+1D6BA NormalizationTest.txt |
๐บโฮฃ
|
7 B | |
| 004740 | unicode/part1/U+1D6BB NormalizationTest.txt |
๐ปโฮค
|
7 B | |
| 004741 | unicode/part1/U+1D6BC NormalizationTest.txt |
๐ผโฮฅ
|
7 B | |
| 004742 | unicode/part1/U+1D6BD NormalizationTest.txt |
๐ฝโฮฆ
|
7 B | |
| 004743 | unicode/part1/U+1D6BE NormalizationTest.txt |
๐พโฮง
|
7 B | |
| 004744 | unicode/part1/U+1D6BF 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