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 |
|---|---|---|---|---|
| 008200 | unicode/part4/line 19435 NormalizationTest.txt |
ắ␊ắ␊ắ
|
14 B | |
| 008201 | unicode/part4/line 19436 NormalizationTest.txt |
ắ␊ắ␊ắ
|
14 B | |
| 008202 | unicode/part4/line 19437 NormalizationTest.txt |
Ằ␊Ằ␊Ằ
|
14 B | |
| 008203 | unicode/part4/line 19438 NormalizationTest.txt |
Ằ␊Ằ␊Ằ
|
14 B | |
| 008204 | unicode/part4/line 19439 NormalizationTest.txt |
ằ␊ằ␊ằ
|
14 B | |
| 008205 | unicode/part4/line 19440 NormalizationTest.txt |
ằ␊ằ␊ằ
|
14 B | |
| 008206 | unicode/part4/line 19441 NormalizationTest.txt |
Ẳ␊Ẳ␊Ẳ
|
14 B | |
| 008207 | unicode/part4/line 19442 NormalizationTest.txt |
ẳ␊ẳ␊ẳ
|
14 B | |
| 008208 | unicode/part4/line 19443 NormalizationTest.txt |
Ẵ␊Ẵ␊Ẵ
|
14 B | |
| 008209 | unicode/part4/line 19444 NormalizationTest.txt |
ẵ␊ẵ␊ẵ
|
14 B | |
| 008210 | unicode/part4/line 19445 NormalizationTest.txt |
Ặ␊Ặ␊Ặ
|
14 B | |
| 008211 | unicode/part4/line 19446 NormalizationTest.txt |
Ặ␊Ặ␊Ặ
|
15 B | |
| 008212 | unicode/part4/line 19447 NormalizationTest.txt |
ặ␊ặ␊ặ
|
14 B | |
| 008213 | unicode/part4/line 19448 NormalizationTest.txt |
ặ␊ặ␊ặ
|
15 B | |
| 008214 | unicode/part4/line 19449 NormalizationTest.txt |
Ế␊Ế␊Ế
|
14 B | |
| 008215 | unicode/part4/line 19450 NormalizationTest.txt |
Ế␊Ế␊Ế
|
14 B | |
| 008216 | unicode/part4/line 19451 NormalizationTest.txt |
ế␊ế␊ế
|
14 B | |
| 008217 | unicode/part4/line 19452 NormalizationTest.txt |
ế␊ế␊ế
|
14 B | |
| 008218 | unicode/part4/line 19453 NormalizationTest.txt |
Ề␊Ề␊Ề
|
14 B | |
| 008219 | unicode/part4/line 19454 NormalizationTest.txt |
Ề␊Ề␊Ề
|
14 B | |
| 008220 | unicode/part4/line 19455 NormalizationTest.txt |
ề␊ề␊ề
|
14 B | |
| 008221 | unicode/part4/line 19456 NormalizationTest.txt |
ề␊ề␊ề
|
14 B | |
| 008222 | unicode/part4/line 19457 NormalizationTest.txt |
Ể␊Ể␊Ể
|
14 B | |
| 008223 | unicode/part4/line 19458 NormalizationTest.txt |
ể␊ể␊ể
|
14 B | |
| 008224 | unicode/part4/line 19459 NormalizationTest.txt |
Ễ␊Ễ␊Ễ
|
14 B | |
| 008225 | unicode/part4/line 19460 NormalizationTest.txt |
ễ␊ễ␊ễ
|
14 B | |
| 008226 | unicode/part4/line 19461 NormalizationTest.txt |
Ệ␊Ệ␊Ệ
|
14 B | |
| 008227 | unicode/part4/line 19462 NormalizationTest.txt |
Ệ␊Ệ␊Ệ
|
15 B | |
| 008228 | unicode/part4/line 19463 NormalizationTest.txt |
ệ␊ệ␊ệ
|
14 B | |
| 008229 | unicode/part4/line 19464 NormalizationTest.txt |
ệ␊ệ␊ệ
|
15 B | |
| 008230 | unicode/part4/line 19465 NormalizationTest.txt |
Ố␊Ố␊Ố
|
14 B | |
| 008231 | unicode/part4/line 19466 NormalizationTest.txt |
Ố␊Ố␊Ố
|
14 B | |
| 008232 | unicode/part4/line 19467 NormalizationTest.txt |
ố␊ố␊ố
|
14 B | |
| 008233 | unicode/part4/line 19468 NormalizationTest.txt |
ố␊ố␊ố
|
14 B | |
| 008234 | unicode/part4/line 19469 NormalizationTest.txt |
Ồ␊Ồ␊Ồ
|
14 B | |
| 008235 | unicode/part4/line 19470 NormalizationTest.txt |
Ồ␊Ồ␊Ồ
|
14 B | |
| 008236 | unicode/part4/line 19471 NormalizationTest.txt |
ồ␊ồ␊ồ
|
14 B | |
| 008237 | unicode/part4/line 19472 NormalizationTest.txt |
ồ␊ồ␊ồ
|
14 B | |
| 008238 | unicode/part4/line 19473 NormalizationTest.txt |
Ổ␊Ổ␊Ổ
|
14 B | |
| 008239 | unicode/part4/line 19474 NormalizationTest.txt |
ổ␊ổ␊ổ
|
14 B | |
| 008240 | unicode/part4/line 19475 NormalizationTest.txt |
Ỗ␊Ỗ␊Ỗ
|
14 B | |
| 008241 | unicode/part4/line 19476 NormalizationTest.txt |
ỗ␊ỗ␊ỗ
|
14 B | |
| 008242 | unicode/part4/line 19477 NormalizationTest.txt |
Ộ␊Ộ␊Ộ
|
14 B | |
| 008243 | unicode/part4/line 19478 NormalizationTest.txt |
Ộ␊Ộ␊Ộ
|
15 B | |
| 008244 | unicode/part4/line 19479 NormalizationTest.txt |
ộ␊ộ␊ộ
|
14 B | |
| 008245 | unicode/part4/line 19480 NormalizationTest.txt |
ộ␊ộ␊ộ
|
15 B | |
| 008246 | unicode/part4/line 19481 NormalizationTest.txt |
Ớ␊Ớ␊Ớ
|
14 B | |
| 008247 | unicode/part4/line 19482 NormalizationTest.txt |
Ớ␊Ớ␊Ớ
|
14 B | |
| 008248 | unicode/part4/line 19483 NormalizationTest.txt |
Ớ␊Ớ␊Ớ
|
14 B | |
| 008249 | unicode/part4/line 19484 NormalizationTest.txt |
ớ␊ớ␊ớ
|
14 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