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 |
|---|---|---|---|---|
| 005050 | unicode/part1/U+1D7F3 NormalizationTest.txt |
๐ณโ7
|
6 B | |
| 005051 | unicode/part1/U+1D7F4 NormalizationTest.txt |
๐ดโ8
|
6 B | |
| 005052 | unicode/part1/U+1D7F5 NormalizationTest.txt |
๐ตโ9
|
6 B | |
| 005053 | unicode/part1/U+1D7F6 NormalizationTest.txt |
๐ถโ0
|
6 B | |
| 005054 | unicode/part1/U+1D7F7 NormalizationTest.txt |
๐ทโ1
|
6 B | |
| 005055 | unicode/part1/U+1D7F8 NormalizationTest.txt |
๐ธโ2
|
6 B | |
| 005056 | unicode/part1/U+1D7F9 NormalizationTest.txt |
๐นโ3
|
6 B | |
| 005057 | unicode/part1/U+1D7FA NormalizationTest.txt |
๐บโ4
|
6 B | |
| 005058 | unicode/part1/U+1D7FB NormalizationTest.txt |
๐ปโ5
|
6 B | |
| 005059 | unicode/part1/U+1D7FC NormalizationTest.txt |
๐ผโ6
|
6 B | |
| 005060 | unicode/part1/U+1D7FD NormalizationTest.txt |
๐ฝโ7
|
6 B | |
| 005061 | unicode/part1/U+1D7FE NormalizationTest.txt |
๐พโ8
|
6 B | |
| 005062 | unicode/part1/U+1D7FF NormalizationTest.txt |
๐ฟโ9
|
6 B | |
| 005063 | unicode/part1/U+1E030 NormalizationTest.txt |
๐ฐโะฐ
|
7 B | |
| 005064 | unicode/part1/U+1E031 NormalizationTest.txt |
๐ฑโะฑ
|
7 B | |
| 005065 | unicode/part1/U+1E032 NormalizationTest.txt |
๐ฒโะฒ
|
7 B | |
| 005066 | unicode/part1/U+1E033 NormalizationTest.txt |
๐ณโะณ
|
7 B | |
| 005067 | unicode/part1/U+1E034 NormalizationTest.txt |
๐ดโะด
|
7 B | |
| 005068 | unicode/part1/U+1E035 NormalizationTest.txt |
๐ตโะต
|
7 B | |
| 005069 | unicode/part1/U+1E036 NormalizationTest.txt |
๐ถโะถ
|
7 B | |
| 005070 | unicode/part1/U+1E037 NormalizationTest.txt |
๐ทโะท
|
7 B | |
| 005071 | unicode/part1/U+1E038 NormalizationTest.txt |
๐ธโะธ
|
7 B | |
| 005072 | unicode/part1/U+1E039 NormalizationTest.txt |
๐นโะบ
|
7 B | |
| 005073 | unicode/part1/U+1E03A NormalizationTest.txt |
๐บโะป
|
7 B | |
| 005074 | unicode/part1/U+1E03B NormalizationTest.txt |
๐ปโะผ
|
7 B | |
| 005075 | unicode/part1/U+1E03C NormalizationTest.txt |
๐ผโะพ
|
7 B | |
| 005076 | unicode/part1/U+1E03D NormalizationTest.txt |
๐ฝโะฟ
|
7 B | |
| 005077 | unicode/part1/U+1E03E NormalizationTest.txt |
๐พโั
|
7 B | |
| 005078 | unicode/part1/U+1E03F NormalizationTest.txt |
๐ฟโั
|
7 B | |
| 005079 | unicode/part1/U+1E040 NormalizationTest.txt |
๐โั
|
7 B | |
| 005080 | unicode/part1/U+1E041 NormalizationTest.txt |
๐โั
|
7 B | |
| 005081 | unicode/part1/U+1E042 NormalizationTest.txt |
๐โั
|
7 B | |
| 005082 | unicode/part1/U+1E043 NormalizationTest.txt |
๐โั
|
7 B | |
| 005083 | unicode/part1/U+1E044 NormalizationTest.txt |
๐โั
|
7 B | |
| 005084 | unicode/part1/U+1E045 NormalizationTest.txt |
๐
โั
|
7 B | |
| 005085 | unicode/part1/U+1E046 NormalizationTest.txt |
๐โั
|
7 B | |
| 005086 | unicode/part1/U+1E047 NormalizationTest.txt |
๐โั
|
7 B | |
| 005087 | unicode/part1/U+1E048 NormalizationTest.txt |
๐โั
|
7 B | |
| 005088 | unicode/part1/U+1E049 NormalizationTest.txt |
๐โั
|
7 B | |
| 005089 | unicode/part1/U+1E04A NormalizationTest.txt |
๐โ๊
|
8 B | |
| 005090 | unicode/part1/U+1E04B NormalizationTest.txt |
๐โำ
|
7 B | |
| 005091 | unicode/part1/U+1E04C NormalizationTest.txt |
๐โั
|
7 B | |
| 005092 | unicode/part1/U+1E04D NormalizationTest.txt |
๐โั
|
7 B | |
| 005093 | unicode/part1/U+1E04E NormalizationTest.txt |
๐โำฉ
|
7 B | |
| 005094 | unicode/part1/U+1E04F NormalizationTest.txt |
๐โาฏ
|
7 B | |
| 005095 | unicode/part1/U+1E050 NormalizationTest.txt |
๐โำ
|
7 B | |
| 005096 | unicode/part1/U+1E051 NormalizationTest.txt |
๐โะฐ
|
7 B | |
| 005097 | unicode/part1/U+1E052 NormalizationTest.txt |
๐โะฑ
|
7 B | |
| 005098 | unicode/part1/U+1E053 NormalizationTest.txt |
๐โะฒ
|
7 B | |
| 005099 | unicode/part1/U+1E054 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