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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 003395 | unicode/part1/U+FD6B NormalizationTest.txt |
ﵫ␊شمخ
|
10 B | |
| 003396 | unicode/part1/U+FD6C NormalizationTest.txt |
ﵬ␊شمم
|
10 B | |
| 003397 | unicode/part1/U+FD6D NormalizationTest.txt |
ﵭ␊شمم
|
10 B | |
| 003398 | unicode/part1/U+FD6E NormalizationTest.txt |
ﵮ␊ضحى
|
10 B | |
| 003399 | unicode/part1/U+FD6F NormalizationTest.txt |
ﵯ␊ضخم
|
10 B | |
| 003400 | unicode/part1/U+FD70 NormalizationTest.txt |
ﵰ␊ضخم
|
10 B | |
| 003401 | unicode/part1/U+FD71 NormalizationTest.txt |
ﵱ␊طمح
|
10 B | |
| 003402 | unicode/part1/U+FD72 NormalizationTest.txt |
ﵲ␊طمح
|
10 B | |
| 003403 | unicode/part1/U+FD73 NormalizationTest.txt |
ﵳ␊طمم
|
10 B | |
| 003404 | unicode/part1/U+FD74 NormalizationTest.txt |
ﵴ␊طمي
|
10 B | |
| 003405 | unicode/part1/U+FD75 NormalizationTest.txt |
ﵵ␊عجم
|
10 B | |
| 003406 | unicode/part1/U+FD76 NormalizationTest.txt |
ﵶ␊عمم
|
10 B | |
| 003407 | unicode/part1/U+FD77 NormalizationTest.txt |
ﵷ␊عمم
|
10 B | |
| 003408 | unicode/part1/U+FD78 NormalizationTest.txt |
ﵸ␊عمى
|
10 B | |
| 003409 | unicode/part1/U+FD79 NormalizationTest.txt |
ﵹ␊غمم
|
10 B | |
| 003410 | unicode/part1/U+FD7A NormalizationTest.txt |
ﵺ␊غمي
|
10 B | |
| 003411 | unicode/part1/U+FD7B NormalizationTest.txt |
ﵻ␊غمى
|
10 B | |
| 003412 | unicode/part1/U+FD7C NormalizationTest.txt |
ﵼ␊فخم
|
10 B | |
| 003413 | unicode/part1/U+FD7D NormalizationTest.txt |
ﵽ␊فخم
|
10 B | |
| 003414 | unicode/part1/U+FD7E NormalizationTest.txt |
ﵾ␊قمح
|
10 B | |
| 003415 | unicode/part1/U+FD7F NormalizationTest.txt |
ﵿ␊قمم
|
10 B | |
| 003416 | unicode/part1/U+FD80 NormalizationTest.txt |
ﶀ␊لحم
|
10 B | |
| 003417 | unicode/part1/U+FD81 NormalizationTest.txt |
ﶁ␊لحي
|
10 B | |
| 003418 | unicode/part1/U+FD82 NormalizationTest.txt |
ﶂ␊لحى
|
10 B | |
| 003419 | unicode/part1/U+FD83 NormalizationTest.txt |
ﶃ␊لجج
|
10 B | |
| 003420 | unicode/part1/U+FD84 NormalizationTest.txt |
ﶄ␊لجج
|
10 B | |
| 003421 | unicode/part1/U+FD85 NormalizationTest.txt |
ﶅ␊لخم
|
10 B | |
| 003422 | unicode/part1/U+FD86 NormalizationTest.txt |
ﶆ␊لخم
|
10 B | |
| 003423 | unicode/part1/U+FD87 NormalizationTest.txt |
ﶇ␊لمح
|
10 B | |
| 003424 | unicode/part1/U+FD88 NormalizationTest.txt |
ﶈ␊لمح
|
10 B | |
| 003425 | unicode/part1/U+FD89 NormalizationTest.txt |
ﶉ␊محج
|
10 B | |
| 003426 | unicode/part1/U+FD8A NormalizationTest.txt |
ﶊ␊محم
|
10 B | |
| 003427 | unicode/part1/U+FD8B NormalizationTest.txt |
ﶋ␊محي
|
10 B | |
| 003428 | unicode/part1/U+FD8C NormalizationTest.txt |
ﶌ␊مجح
|
10 B | |
| 003429 | unicode/part1/U+FD8D NormalizationTest.txt |
ﶍ␊مجم
|
10 B | |
| 003430 | unicode/part1/U+FD8E NormalizationTest.txt |
ﶎ␊مخج
|
10 B | |
| 003431 | unicode/part1/U+FD8F NormalizationTest.txt |
ﶏ␊مخم
|
10 B | |
| 003432 | unicode/part1/U+FD92 NormalizationTest.txt |
ﶒ␊مجخ
|
10 B | |
| 003433 | unicode/part1/U+FD93 NormalizationTest.txt |
ﶓ␊همج
|
10 B | |
| 003434 | unicode/part1/U+FD94 NormalizationTest.txt |
ﶔ␊همم
|
10 B | |
| 003435 | unicode/part1/U+FD95 NormalizationTest.txt |
ﶕ␊نحم
|
10 B | |
| 003436 | unicode/part1/U+FD96 NormalizationTest.txt |
ﶖ␊نحى
|
10 B | |
| 003437 | unicode/part1/U+FD97 NormalizationTest.txt |
ﶗ␊نجم
|
10 B | |
| 003438 | unicode/part1/U+FD98 NormalizationTest.txt |
ﶘ␊نجم
|
10 B | |
| 003439 | unicode/part1/U+FD99 NormalizationTest.txt |
ﶙ␊نجى
|
10 B | |
| 003440 | unicode/part1/U+FD9A NormalizationTest.txt |
ﶚ␊نمي
|
10 B | |
| 003441 | unicode/part1/U+FD9B NormalizationTest.txt |
ﶛ␊نمى
|
10 B | |
| 003442 | unicode/part1/U+FD9C NormalizationTest.txt |
ﶜ␊يمم
|
10 B | |
| 003443 | unicode/part1/U+FD9D NormalizationTest.txt |
ﶝ␊يمم
|
10 B | |
| 003444 | unicode/part1/U+FD9E NormalizationTest.txt |
ﶞ␊بخي
|
10 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