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
45 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 000000 | unicode/part0/line 44 NormalizationTest.txt |
Ḋ␊Ḋ
|
7 B | |
| 000001 | unicode/part0/line 45 NormalizationTest.txt |
Ḍ␊Ḍ
|
7 B | |
| 000002 | unicode/part0/line 46 NormalizationTest.txt |
Ḍ̇␊Ḍ̇␊Ḍ̇
|
17 B | |
| 000003 | unicode/part0/line 47 NormalizationTest.txt |
Ḍ̇␊Ḍ̇
|
11 B | |
| 000004 | unicode/part0/line 48 NormalizationTest.txt |
Ḍ̇␊Ḍ̇␊Ḍ̇
|
17 B | |
| 000005 | unicode/part0/line 49 NormalizationTest.txt |
Ḍ̇␊Ḍ̇
|
11 B | |
| 000006 | unicode/part0/line 50 NormalizationTest.txt |
Ḋ̛␊Ḋ̛
|
11 B | |
| 000007 | unicode/part0/line 51 NormalizationTest.txt |
Ḍ̛␊Ḍ̛
|
11 B | |
| 000008 | unicode/part0/line 52 NormalizationTest.txt |
Ḍ̛̇␊Ḍ̛̇␊Ḍ̛̇
|
23 B | |
| 000009 | unicode/part0/line 53 NormalizationTest.txt |
Ḍ̛̇␊Ḍ̛̇
|
15 B | |
| 000010 | unicode/part0/line 54 NormalizationTest.txt |
Ḍ̛̇␊Ḍ̛̇␊Ḍ̛̇
|
23 B | |
| 000011 | unicode/part0/line 55 NormalizationTest.txt |
Ḍ̛̇␊Ḍ̛̇
|
15 B | |
| 000012 | unicode/part0/line 56 NormalizationTest.txt |
È␊È
|
6 B | |
| 000013 | unicode/part0/line 57 NormalizationTest.txt |
Ē␊Ē
|
6 B | |
| 000014 | unicode/part0/line 58 NormalizationTest.txt |
È␊È
|
6 B | |
| 000015 | unicode/part0/line 59 NormalizationTest.txt |
Ē␊Ē
|
6 B | |
| 000016 | unicode/part0/line 60 NormalizationTest.txt |
Ḕ␊Ḕ
|
9 B | |
| 000017 | unicode/part0/line 61 NormalizationTest.txt |
Ḕ␊Ḕ␊Ḕ
|
14 B | |
| 000018 | unicode/part0/line 62 NormalizationTest.txt |
Ḕ̄␊Ḕ̄
|
13 B | |
| 000019 | unicode/part0/line 63 NormalizationTest.txt |
Ḕ␊Ḕ
|
9 B | |
| 000020 | unicode/part0/line 64 NormalizationTest.txt |
È̄␊È̄
|
10 B | |
| 000021 | unicode/part0/line 65 NormalizationTest.txt |
ֱָֹ֑׃ְ֬֟␊ֱָֹ֑׃ְ֬֟
|
33 B | |
| 000022 | unicode/part0/line 66 NormalizationTest.txt |
ְַּ֥֒׀֭ׄ␊ְַּ֥֒׀֭ׄ
|
33 B | |
| 000023 | unicode/part0/line 67 NormalizationTest.txt |
ᄀ각␊ᄀ각␊ᄀ각
|
29 B | |
| 000024 | unicode/part0/line 68 NormalizationTest.txt |
ᄀ각ᆨ␊ᄀ각ᆨ␊ᄀ각ᆨ
|
38 B | |
| 000025 | unicode/part0/line 69 NormalizationTest.txt |
DẒ̌␊DẒ̌␊DẒ̌
|
18 B | |
| 000026 | unicode/part0/line 70 NormalizationTest.txt |
Dẓ̌␊Dẓ̌␊Dẓ̌
|
18 B | |
| 000027 | unicode/part0/line 71 NormalizationTest.txt |
dẓ̌␊dẓ̌␊dẓ̌
|
18 B | |
| 000028 | unicode/part0/line 72 NormalizationTest.txt |
ෝ̴␊ෝ̴
|
17 B | |
| 000029 | unicode/part0/line 73 NormalizationTest.txt |
㌄̴␊イニング̴␊イニング̴
|
38 B | |
| 000030 | unicode/part0/line 74 NormalizationTest.txt |
㌇̴␊エスクード̴␊エスクード̴
|
44 B | |
| 000031 | unicode/part0/line 75 NormalizationTest.txt |
㌐̴␊ギガ̴␊ギガ̴
|
29 B | |
| 000032 | unicode/part0/line 76 NormalizationTest.txt |
㌞̴␊コーポ̴␊コーポ̴
|
32 B | |
| 000033 | unicode/part0/line 77 NormalizationTest.txt |
㌡̴␊シリング̴␊シリング̴
|
38 B | |
| 000034 | unicode/part0/line 78 NormalizationTest.txt |
㌲̴␊ファラッド̴␊ファラッド̴
|
44 B | |
| 000035 | unicode/part0/line 79 NormalizationTest.txt |
㌻̴␊ページ̴␊ページ̴
|
35 B | |
| 000036 | unicode/part0/line 80 NormalizationTest.txt |
㍀̴␊ポンド̴␊ポンド̴
|
35 B | |
| 000037 | unicode/part0/line 81 NormalizationTest.txt |
㍋̴␊メガ̴␊メガ̴
|
26 B | |
| 000038 | unicode/part0/line 82 NormalizationTest.txt |
㍎̴␊ヤード̴␊ヤード̴
|
32 B | |
| 000039 | unicode/part0/line 83 NormalizationTest.txt |
ﻵٖ␊لآٖ␊لآٖ
|
21 B | |
| 000040 | unicode/part0/line 84 NormalizationTest.txt |
ﻶٖ␊لآٖ␊لآٖ
|
21 B | |
| 000041 | unicode/part0/line 85 NormalizationTest.txt |
ﻷٖ␊لأٖ␊لأٖ
|
21 B | |
| 000042 | unicode/part0/line 86 NormalizationTest.txt |
ﻸٖ␊لأٖ␊لأٖ
|
21 B | |
| 000043 | unicode/part0/line 87 NormalizationTest.txt |
ﻹ̴␊لإ̴␊لإ̴
|
21 B | |
| 000044 | unicode/part0/line 88 NormalizationTest.txt |
ﻺ̴␊لإ̴␊لإ̴
|
21 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