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
93 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 000458 | unicode/part1/U+0958 NormalizationTest.txt |
क़␊क़
|
10 B | |
| 000459 | unicode/part1/U+0959 NormalizationTest.txt |
ख़␊ख़
|
10 B | |
| 000460 | unicode/part1/U+095A NormalizationTest.txt |
ग़␊ग़
|
10 B | |
| 000461 | unicode/part1/U+095B NormalizationTest.txt |
ज़␊ज़
|
10 B | |
| 000462 | unicode/part1/U+095C NormalizationTest.txt |
ड़␊ड़
|
10 B | |
| 000463 | unicode/part1/U+095D NormalizationTest.txt |
ढ़␊ढ़
|
10 B | |
| 000464 | unicode/part1/U+095E NormalizationTest.txt |
फ़␊फ़
|
10 B | |
| 000465 | unicode/part1/U+095F NormalizationTest.txt |
य़␊य़
|
10 B | |
| 000468 | unicode/part1/U+09DC NormalizationTest.txt |
ড়␊ড়
|
10 B | |
| 000469 | unicode/part1/U+09DD NormalizationTest.txt |
ঢ়␊ঢ়
|
10 B | |
| 000470 | unicode/part1/U+09DF NormalizationTest.txt |
য়␊য়
|
10 B | |
| 000471 | unicode/part1/U+0A33 NormalizationTest.txt |
ਲ਼␊ਲ਼
|
10 B | |
| 000472 | unicode/part1/U+0A36 NormalizationTest.txt |
ਸ਼␊ਸ਼
|
10 B | |
| 000473 | unicode/part1/U+0A59 NormalizationTest.txt |
ਖ਼␊ਖ਼
|
10 B | |
| 000474 | unicode/part1/U+0A5A NormalizationTest.txt |
ਗ਼␊ਗ਼
|
10 B | |
| 000475 | unicode/part1/U+0A5B NormalizationTest.txt |
ਜ਼␊ਜ਼
|
10 B | |
| 000476 | unicode/part1/U+0A5E NormalizationTest.txt |
ਫ਼␊ਫ਼
|
10 B | |
| 000480 | unicode/part1/U+0B5C NormalizationTest.txt |
ଡ଼␊ଡ଼
|
10 B | |
| 000481 | unicode/part1/U+0B5D NormalizationTest.txt |
ଢ଼␊ଢ଼
|
10 B | |
| 000504 | unicode/part1/U+0F43 NormalizationTest.txt |
གྷ␊གྷ
|
10 B | |
| 000505 | unicode/part1/U+0F4D NormalizationTest.txt |
ཌྷ␊ཌྷ
|
10 B | |
| 000506 | unicode/part1/U+0F52 NormalizationTest.txt |
དྷ␊དྷ
|
10 B | |
| 000507 | unicode/part1/U+0F57 NormalizationTest.txt |
བྷ␊བྷ
|
10 B | |
| 000508 | unicode/part1/U+0F5C NormalizationTest.txt |
ཛྷ␊ཛྷ
|
10 B | |
| 000509 | unicode/part1/U+0F69 NormalizationTest.txt |
ཀྵ␊ཀྵ
|
10 B | |
| 000512 | unicode/part1/U+0F76 NormalizationTest.txt |
ྲྀ␊ྲྀ
|
10 B | |
| 000514 | unicode/part1/U+0F78 NormalizationTest.txt |
ླྀ␊ླྀ
|
10 B | |
| 000517 | unicode/part1/U+0F93 NormalizationTest.txt |
ྒྷ␊ྒྷ
|
10 B | |
| 000518 | unicode/part1/U+0F9D NormalizationTest.txt |
ྜྷ␊ྜྷ
|
10 B | |
| 000519 | unicode/part1/U+0FA2 NormalizationTest.txt |
ྡྷ␊ྡྷ
|
10 B | |
| 000520 | unicode/part1/U+0FA7 NormalizationTest.txt |
ྦྷ␊ྦྷ
|
10 B | |
| 000521 | unicode/part1/U+0FAC NormalizationTest.txt |
ྫྷ␊ྫྷ
|
10 B | |
| 000522 | unicode/part1/U+0FB9 NormalizationTest.txt |
ྐྵ␊ྐྵ
|
10 B | |
| 001479 | unicode/part1/U+2ADC NormalizationTest.txt |
⫝̸␊⫝̸
|
9 B | |
| 002862 | unicode/part1/U+FB1D NormalizationTest.txt |
יִ␊יִ
|
8 B | |
| 002863 | unicode/part1/U+FB1F NormalizationTest.txt |
ײַ␊ײַ
|
8 B | |
| 002874 | unicode/part1/U+FB2A NormalizationTest.txt |
שׁ␊שׁ
|
8 B | |
| 002875 | unicode/part1/U+FB2B NormalizationTest.txt |
שׂ␊שׂ
|
8 B | |
| 002876 | unicode/part1/U+FB2C NormalizationTest.txt |
שּׁ␊שּׁ
|
10 B | |
| 002877 | unicode/part1/U+FB2D NormalizationTest.txt |
שּׂ␊שּׂ
|
10 B | |
| 002878 | unicode/part1/U+FB2E NormalizationTest.txt |
אַ␊אַ
|
8 B | |
| 002879 | unicode/part1/U+FB2F NormalizationTest.txt |
אָ␊אָ
|
8 B | |
| 002880 | unicode/part1/U+FB30 NormalizationTest.txt |
אּ␊אּ
|
8 B | |
| 002881 | unicode/part1/U+FB31 NormalizationTest.txt |
בּ␊בּ
|
8 B | |
| 002882 | unicode/part1/U+FB32 NormalizationTest.txt |
גּ␊גּ
|
8 B | |
| 002883 | unicode/part1/U+FB33 NormalizationTest.txt |
דּ␊דּ
|
8 B | |
| 002884 | unicode/part1/U+FB34 NormalizationTest.txt |
הּ␊הּ
|
8 B | |
| 002885 | unicode/part1/U+FB35 NormalizationTest.txt |
וּ␊וּ
|
8 B | |
| 002886 | unicode/part1/U+FB36 NormalizationTest.txt |
זּ␊זּ
|
8 B | |
| 002887 | unicode/part1/U+FB38 NormalizationTest.txt |
טּ␊טּ
|
8 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