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 |
|---|---|---|---|---|
| 008050 | unicode/part3/line 19281 NormalizationTest.txt |
퓌̴ᆼ␊퓌̴ᆼ
|
20 B | |
| 008051 | unicode/part3/line 19282 NormalizationTest.txt |
햐̴ᆮ␊햐̴ᆮ
|
20 B | |
| 008052 | unicode/part3/line 19283 NormalizationTest.txt |
헤̴ᆵ␊헤̴ᆵ
|
20 B | |
| 008053 | unicode/part3/line 19284 NormalizationTest.txt |
호̴ᆼ␊호̴ᆼ
|
20 B | |
| 008054 | unicode/part3/line 19285 NormalizationTest.txt |
훼̴ᆮ␊훼̴ᆮ
|
20 B | |
| 008055 | unicode/part3/line 19286 NormalizationTest.txt |
흐̴ᆵ␊흐̴ᆵ
|
20 B | |
| 008056 | unicode/part3/line 19287 NormalizationTest.txt |
𑄱̴𑄧
|
10 B | |
| 008057 | unicode/part3/line 19288 NormalizationTest.txt |
𑄲̴𑄧
|
10 B | |
| 008058 | unicode/part3/line 19289 NormalizationTest.txt |
𑍇̴𑌾
|
10 B | |
| 008059 | unicode/part3/line 19290 NormalizationTest.txt |
𑍇̴𑍗
|
10 B | |
| 008060 | unicode/part3/line 19291 NormalizationTest.txt |
̴
|
10 B | |
| 008061 | unicode/part3/line 19292 NormalizationTest.txt |
̴
|
10 B | |
| 008062 | unicode/part3/line 19293 NormalizationTest.txt |
̴
|
10 B | |
| 008063 | unicode/part3/line 19294 NormalizationTest.txt |
̴
|
10 B | |
| 008064 | unicode/part3/line 19295 NormalizationTest.txt |
̴
|
10 B | |
| 008065 | unicode/part3/line 19296 NormalizationTest.txt |
̴
|
10 B | |
| 008066 | unicode/part3/line 19297 NormalizationTest.txt |
̴
|
10 B | |
| 008067 | unicode/part3/line 19298 NormalizationTest.txt |
𑒹̴𑒰
|
10 B | |
| 008068 | unicode/part3/line 19299 NormalizationTest.txt |
𑒹̴𑒺
|
10 B | |
| 008069 | unicode/part3/line 19300 NormalizationTest.txt |
𑒹̴𑒽
|
10 B | |
| 008070 | unicode/part3/line 19301 NormalizationTest.txt |
𑖸̴𑖯
|
10 B | |
| 008071 | unicode/part3/line 19302 NormalizationTest.txt |
𑖹̴𑖯
|
10 B | |
| 008072 | unicode/part3/line 19303 NormalizationTest.txt |
𑤵̴𑤰
|
10 B | |
| 008073 | unicode/part3/line 19304 NormalizationTest.txt |
̴
|
10 B | |
| 008074 | unicode/part3/line 19305 NormalizationTest.txt |
̴
|
10 B | |
| 008075 | unicode/part3/line 19306 NormalizationTest.txt |
̴
|
10 B | |
| 008076 | unicode/part3/line 19307 NormalizationTest.txt |
̴
|
10 B | |
| 008077 | unicode/part3/line 19308 NormalizationTest.txt |
̴␊̴
|
25 B | |
| 008078 | unicode/part3/line 19309 NormalizationTest.txt |
̴␊̴
|
25 B | |
| 008079 | unicode/part3/line 19310 NormalizationTest.txt |
̴␊̴
|
25 B | |
| 008080 | unicode/part3/line 19311 NormalizationTest.txt |
̴
|
10 B | |
| 008081 | unicode/part3/line 19312 NormalizationTest.txt |
̴
|
10 B | |
| 008082 | unicode/part3/line 19313 NormalizationTest.txt |
̴
|
10 B | |
| 008083 | unicode/part3/line 19314 NormalizationTest.txt |
̴␊̴
|
25 B | |
| 008084 | unicode/part4/line 19318 NormalizationTest.txt |
Ǖ␊Ǖ␊Ǖ
|
13 B | |
| 008085 | unicode/part4/line 19319 NormalizationTest.txt |
ǖ␊ǖ␊ǖ
|
13 B | |
| 008086 | unicode/part4/line 19320 NormalizationTest.txt |
Ǘ␊Ǘ␊Ǘ
|
12 B | |
| 008087 | unicode/part4/line 19321 NormalizationTest.txt |
Ǘ␊Ǘ␊Ǘ
|
13 B | |
| 008088 | unicode/part4/line 19322 NormalizationTest.txt |
Ǘ␊Ǘ␊Ǘ
|
13 B | |
| 008089 | unicode/part4/line 19323 NormalizationTest.txt |
ǘ␊ǘ␊ǘ
|
12 B | |
| 008090 | unicode/part4/line 19324 NormalizationTest.txt |
ǘ␊ǘ␊ǘ
|
13 B | |
| 008091 | unicode/part4/line 19325 NormalizationTest.txt |
ǘ␊ǘ␊ǘ
|
13 B | |
| 008092 | unicode/part4/line 19326 NormalizationTest.txt |
Ǚ␊Ǚ␊Ǚ
|
13 B | |
| 008093 | unicode/part4/line 19327 NormalizationTest.txt |
ǚ␊ǚ␊ǚ
|
13 B | |
| 008094 | unicode/part4/line 19328 NormalizationTest.txt |
Ǜ␊Ǜ␊Ǜ
|
13 B | |
| 008095 | unicode/part4/line 19329 NormalizationTest.txt |
Ǜ␊Ǜ␊Ǜ
|
13 B | |
| 008096 | unicode/part4/line 19330 NormalizationTest.txt |
ǜ␊ǜ␊ǜ
|
13 B | |
| 008097 | unicode/part4/line 19331 NormalizationTest.txt |
ǜ␊ǜ␊ǜ
|
13 B | |
| 008098 | unicode/part4/line 19332 NormalizationTest.txt |
Ǟ␊Ǟ␊Ǟ
|
13 B | |
| 008099 | unicode/part4/line 19333 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