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
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 004950 | unicode/part1/U+1D78D NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004951 | unicode/part1/U+1D78E NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004952 | unicode/part1/U+1D78F NormalizationTest.txt |
๐โฯ
|
7 B | |
| 004953 | unicode/part1/U+1D790 NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004954 | unicode/part1/U+1D791 NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004955 | unicode/part1/U+1D792 NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004956 | unicode/part1/U+1D793 NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004957 | unicode/part1/U+1D794 NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004958 | unicode/part1/U+1D795 NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004959 | unicode/part1/U+1D796 NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004960 | unicode/part1/U+1D797 NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004961 | unicode/part1/U+1D798 NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004962 | unicode/part1/U+1D799 NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004963 | unicode/part1/U+1D79A NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004964 | unicode/part1/U+1D79B NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004965 | unicode/part1/U+1D79C NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004966 | unicode/part1/U+1D79D NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004967 | unicode/part1/U+1D79E NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004968 | unicode/part1/U+1D79F NormalizationTest.txt |
๐โฮ
|
7 B | |
| 004969 | unicode/part1/U+1D7A0 NormalizationTest.txt |
๐ โฮก
|
7 B | |
| 004970 | unicode/part1/U+1D7A1 NormalizationTest.txt |
๐กโฮ
|
7 B | |
| 004971 | unicode/part1/U+1D7A2 NormalizationTest.txt |
๐ขโฮฃ
|
7 B | |
| 004972 | unicode/part1/U+1D7A3 NormalizationTest.txt |
๐ฃโฮค
|
7 B | |
| 004973 | unicode/part1/U+1D7A4 NormalizationTest.txt |
๐คโฮฅ
|
7 B | |
| 004974 | unicode/part1/U+1D7A5 NormalizationTest.txt |
๐ฅโฮฆ
|
7 B | |
| 004975 | unicode/part1/U+1D7A6 NormalizationTest.txt |
๐ฆโฮง
|
7 B | |
| 004976 | unicode/part1/U+1D7A7 NormalizationTest.txt |
๐งโฮจ
|
7 B | |
| 004977 | unicode/part1/U+1D7A8 NormalizationTest.txt |
๐จโฮฉ
|
7 B | |
| 004978 | unicode/part1/U+1D7A9 NormalizationTest.txt |
๐ฉโโ
|
8 B | |
| 004979 | unicode/part1/U+1D7AA NormalizationTest.txt |
๐ชโฮฑ
|
7 B | |
| 004980 | unicode/part1/U+1D7AB NormalizationTest.txt |
๐ซโฮฒ
|
7 B | |
| 004981 | unicode/part1/U+1D7AC NormalizationTest.txt |
๐ฌโฮณ
|
7 B | |
| 004982 | unicode/part1/U+1D7AD NormalizationTest.txt |
๐ญโฮด
|
7 B | |
| 004983 | unicode/part1/U+1D7AE NormalizationTest.txt |
๐ฎโฮต
|
7 B | |
| 004984 | unicode/part1/U+1D7AF NormalizationTest.txt |
๐ฏโฮถ
|
7 B | |
| 004985 | unicode/part1/U+1D7B0 NormalizationTest.txt |
๐ฐโฮท
|
7 B | |
| 004986 | unicode/part1/U+1D7B1 NormalizationTest.txt |
๐ฑโฮธ
|
7 B | |
| 004987 | unicode/part1/U+1D7B2 NormalizationTest.txt |
๐ฒโฮน
|
7 B | |
| 004988 | unicode/part1/U+1D7B3 NormalizationTest.txt |
๐ณโฮบ
|
7 B | |
| 004989 | unicode/part1/U+1D7B4 NormalizationTest.txt |
๐ดโฮป
|
7 B | |
| 004990 | unicode/part1/U+1D7B5 NormalizationTest.txt |
๐ตโฮผ
|
7 B | |
| 004991 | unicode/part1/U+1D7B6 NormalizationTest.txt |
๐ถโฮฝ
|
7 B | |
| 004992 | unicode/part1/U+1D7B7 NormalizationTest.txt |
๐ทโฮพ
|
7 B | |
| 004993 | unicode/part1/U+1D7B8 NormalizationTest.txt |
๐ธโฮฟ
|
7 B | |
| 004994 | unicode/part1/U+1D7B9 NormalizationTest.txt |
๐นโฯ
|
7 B | |
| 004995 | unicode/part1/U+1D7BA NormalizationTest.txt |
๐บโฯ
|
7 B | |
| 004996 | unicode/part1/U+1D7BB NormalizationTest.txt |
๐ปโฯ
|
7 B | |
| 004997 | unicode/part1/U+1D7BC NormalizationTest.txt |
๐ผโฯ
|
7 B | |
| 004998 | unicode/part1/U+1D7BD NormalizationTest.txt |
๐ฝโฯ
|
7 B | |
| 004999 | unicode/part1/U+1D7BE 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