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
956 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 001742 | unicode/part1/U+30BC NormalizationTest.txt |
ゼ␊ゼ
|
10 B | |
| 001743 | unicode/part1/U+30BE NormalizationTest.txt |
ゾ␊ゾ
|
10 B | |
| 001744 | unicode/part1/U+30C0 NormalizationTest.txt |
ダ␊ダ
|
10 B | |
| 001745 | unicode/part1/U+30C2 NormalizationTest.txt |
ヂ␊ヂ
|
10 B | |
| 001746 | unicode/part1/U+30C5 NormalizationTest.txt |
ヅ␊ヅ
|
10 B | |
| 001747 | unicode/part1/U+30C7 NormalizationTest.txt |
デ␊デ
|
10 B | |
| 001748 | unicode/part1/U+30C9 NormalizationTest.txt |
ド␊ド
|
10 B | |
| 001749 | unicode/part1/U+30D0 NormalizationTest.txt |
バ␊バ
|
10 B | |
| 001750 | unicode/part1/U+30D1 NormalizationTest.txt |
パ␊パ
|
10 B | |
| 001751 | unicode/part1/U+30D3 NormalizationTest.txt |
ビ␊ビ
|
10 B | |
| 001752 | unicode/part1/U+30D4 NormalizationTest.txt |
ピ␊ピ
|
10 B | |
| 001753 | unicode/part1/U+30D6 NormalizationTest.txt |
ブ␊ブ
|
10 B | |
| 001754 | unicode/part1/U+30D7 NormalizationTest.txt |
プ␊プ
|
10 B | |
| 001755 | unicode/part1/U+30D9 NormalizationTest.txt |
ベ␊ベ
|
10 B | |
| 001756 | unicode/part1/U+30DA NormalizationTest.txt |
ペ␊ペ
|
10 B | |
| 001757 | unicode/part1/U+30DC NormalizationTest.txt |
ボ␊ボ
|
10 B | |
| 001758 | unicode/part1/U+30DD NormalizationTest.txt |
ポ␊ポ
|
10 B | |
| 001759 | unicode/part1/U+30F4 NormalizationTest.txt |
ヴ␊ヴ
|
10 B | |
| 001760 | unicode/part1/U+30F7 NormalizationTest.txt |
ヷ␊ヷ
|
10 B | |
| 001761 | unicode/part1/U+30F8 NormalizationTest.txt |
ヸ␊ヸ
|
10 B | |
| 001762 | unicode/part1/U+30F9 NormalizationTest.txt |
ヹ␊ヹ
|
10 B | |
| 001763 | unicode/part1/U+30FA NormalizationTest.txt |
ヺ␊ヺ
|
10 B | |
| 001764 | unicode/part1/U+30FE NormalizationTest.txt |
ヾ␊ヾ
|
10 B | |
| 003929 | unicode/part1/U+105C9 NormalizationTest.txt |
␊
|
11 B | |
| 003930 | unicode/part1/U+105E4 NormalizationTest.txt |
␊
|
11 B | |
| 003987 | unicode/part1/U+1109A NormalizationTest.txt |
𑂚␊𑂚
|
13 B | |
| 003988 | unicode/part1/U+1109C NormalizationTest.txt |
𑂜␊𑂜
|
13 B | |
| 003989 | unicode/part1/U+110AB NormalizationTest.txt |
𑂫␊𑂫
|
13 B | |
| 003990 | unicode/part1/U+1112E NormalizationTest.txt |
𑄮␊𑄮
|
13 B | |
| 003991 | unicode/part1/U+1112F NormalizationTest.txt |
𑄯␊𑄯
|
13 B | |
| 003992 | unicode/part1/U+1134B NormalizationTest.txt |
𑍋␊𑍋
|
13 B | |
| 003993 | unicode/part1/U+1134C NormalizationTest.txt |
𑍌␊𑍌
|
13 B | |
| 003994 | unicode/part1/U+11383 NormalizationTest.txt |
␊
|
13 B | |
| 003995 | unicode/part1/U+11385 NormalizationTest.txt |
␊
|
13 B | |
| 003996 | unicode/part1/U+1138E NormalizationTest.txt |
␊
|
13 B | |
| 003997 | unicode/part1/U+11391 NormalizationTest.txt |
␊
|
13 B | |
| 003998 | unicode/part1/U+113C5 NormalizationTest.txt |
␊
|
13 B | |
| 003999 | unicode/part1/U+113C7 NormalizationTest.txt |
␊
|
13 B | |
| 004000 | unicode/part1/U+113C8 NormalizationTest.txt |
␊
|
13 B | |
| 004001 | unicode/part1/U+114BB NormalizationTest.txt |
𑒻␊𑒻
|
13 B | |
| 004002 | unicode/part1/U+114BC NormalizationTest.txt |
𑒼␊𑒼
|
13 B | |
| 004003 | unicode/part1/U+114BE NormalizationTest.txt |
𑒾␊𑒾
|
13 B | |
| 004004 | unicode/part1/U+115BA NormalizationTest.txt |
𑖺␊𑖺
|
13 B | |
| 004005 | unicode/part1/U+115BB NormalizationTest.txt |
𑖻␊𑖻
|
13 B | |
| 004006 | unicode/part1/U+11938 NormalizationTest.txt |
𑤸␊𑤸
|
13 B | |
| 004007 | unicode/part1/U+16121 NormalizationTest.txt |
␊
|
13 B | |
| 004008 | unicode/part1/U+16122 NormalizationTest.txt |
␊
|
13 B | |
| 004009 | unicode/part1/U+16123 NormalizationTest.txt |
␊
|
13 B | |
| 004010 | unicode/part1/U+16124 NormalizationTest.txt |
␊
|
13 B | |
| 004011 | unicode/part1/U+16125 NormalizationTest.txt |
␊
|
13 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