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 |
|---|---|---|---|---|
| 003345 | unicode/part1/U+FD27 NormalizationTest.txt |
ﴧ␊شخ
|
8 B | |
| 003346 | unicode/part1/U+FD28 NormalizationTest.txt |
ﴨ␊شم
|
8 B | |
| 003347 | unicode/part1/U+FD29 NormalizationTest.txt |
ﴩ␊شر
|
8 B | |
| 003348 | unicode/part1/U+FD2A NormalizationTest.txt |
ﴪ␊سر
|
8 B | |
| 003349 | unicode/part1/U+FD2B NormalizationTest.txt |
ﴫ␊صر
|
8 B | |
| 003350 | unicode/part1/U+FD2C NormalizationTest.txt |
ﴬ␊ضر
|
8 B | |
| 003351 | unicode/part1/U+FD2D NormalizationTest.txt |
ﴭ␊شج
|
8 B | |
| 003352 | unicode/part1/U+FD2E NormalizationTest.txt |
ﴮ␊شح
|
8 B | |
| 003353 | unicode/part1/U+FD2F NormalizationTest.txt |
ﴯ␊شخ
|
8 B | |
| 003354 | unicode/part1/U+FD30 NormalizationTest.txt |
ﴰ␊شم
|
8 B | |
| 003355 | unicode/part1/U+FD31 NormalizationTest.txt |
ﴱ␊سه
|
8 B | |
| 003356 | unicode/part1/U+FD32 NormalizationTest.txt |
ﴲ␊شه
|
8 B | |
| 003357 | unicode/part1/U+FD33 NormalizationTest.txt |
ﴳ␊طم
|
8 B | |
| 003358 | unicode/part1/U+FD34 NormalizationTest.txt |
ﴴ␊سج
|
8 B | |
| 003359 | unicode/part1/U+FD35 NormalizationTest.txt |
ﴵ␊سح
|
8 B | |
| 003360 | unicode/part1/U+FD36 NormalizationTest.txt |
ﴶ␊سخ
|
8 B | |
| 003361 | unicode/part1/U+FD37 NormalizationTest.txt |
ﴷ␊شج
|
8 B | |
| 003362 | unicode/part1/U+FD38 NormalizationTest.txt |
ﴸ␊شح
|
8 B | |
| 003363 | unicode/part1/U+FD39 NormalizationTest.txt |
ﴹ␊شخ
|
8 B | |
| 003364 | unicode/part1/U+FD3A NormalizationTest.txt |
ﴺ␊طم
|
8 B | |
| 003365 | unicode/part1/U+FD3B NormalizationTest.txt |
ﴻ␊ظم
|
8 B | |
| 003366 | unicode/part1/U+FD3C NormalizationTest.txt |
ﴼ␊اً
|
8 B | |
| 003367 | unicode/part1/U+FD3D NormalizationTest.txt |
ﴽ␊اً
|
8 B | |
| 003368 | unicode/part1/U+FD50 NormalizationTest.txt |
ﵐ␊تجم
|
10 B | |
| 003369 | unicode/part1/U+FD51 NormalizationTest.txt |
ﵑ␊تحج
|
10 B | |
| 003370 | unicode/part1/U+FD52 NormalizationTest.txt |
ﵒ␊تحج
|
10 B | |
| 003371 | unicode/part1/U+FD53 NormalizationTest.txt |
ﵓ␊تحم
|
10 B | |
| 003372 | unicode/part1/U+FD54 NormalizationTest.txt |
ﵔ␊تخم
|
10 B | |
| 003373 | unicode/part1/U+FD55 NormalizationTest.txt |
ﵕ␊تمج
|
10 B | |
| 003374 | unicode/part1/U+FD56 NormalizationTest.txt |
ﵖ␊تمح
|
10 B | |
| 003375 | unicode/part1/U+FD57 NormalizationTest.txt |
ﵗ␊تمخ
|
10 B | |
| 003376 | unicode/part1/U+FD58 NormalizationTest.txt |
ﵘ␊جمح
|
10 B | |
| 003377 | unicode/part1/U+FD59 NormalizationTest.txt |
ﵙ␊جمح
|
10 B | |
| 003378 | unicode/part1/U+FD5A NormalizationTest.txt |
ﵚ␊حمي
|
10 B | |
| 003379 | unicode/part1/U+FD5B NormalizationTest.txt |
ﵛ␊حمى
|
10 B | |
| 003380 | unicode/part1/U+FD5C NormalizationTest.txt |
ﵜ␊سحج
|
10 B | |
| 003381 | unicode/part1/U+FD5D NormalizationTest.txt |
ﵝ␊سجح
|
10 B | |
| 003382 | unicode/part1/U+FD5E NormalizationTest.txt |
ﵞ␊سجى
|
10 B | |
| 003383 | unicode/part1/U+FD5F NormalizationTest.txt |
ﵟ␊سمح
|
10 B | |
| 003384 | unicode/part1/U+FD60 NormalizationTest.txt |
ﵠ␊سمح
|
10 B | |
| 003385 | unicode/part1/U+FD61 NormalizationTest.txt |
ﵡ␊سمج
|
10 B | |
| 003386 | unicode/part1/U+FD62 NormalizationTest.txt |
ﵢ␊سمم
|
10 B | |
| 003387 | unicode/part1/U+FD63 NormalizationTest.txt |
ﵣ␊سمم
|
10 B | |
| 003388 | unicode/part1/U+FD64 NormalizationTest.txt |
ﵤ␊صحح
|
10 B | |
| 003389 | unicode/part1/U+FD65 NormalizationTest.txt |
ﵥ␊صحح
|
10 B | |
| 003390 | unicode/part1/U+FD66 NormalizationTest.txt |
ﵦ␊صمم
|
10 B | |
| 003391 | unicode/part1/U+FD67 NormalizationTest.txt |
ﵧ␊شحم
|
10 B | |
| 003392 | unicode/part1/U+FD68 NormalizationTest.txt |
ﵨ␊شحم
|
10 B | |
| 003393 | unicode/part1/U+FD69 NormalizationTest.txt |
ﵩ␊شجي
|
10 B | |
| 003394 | unicode/part1/U+FD6A 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