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 |
|---|---|---|---|---|
| 003045 | unicode/part1/U+FBFB NormalizationTest.txt |
ﯻ␊ئى␊ئى
|
15 B | |
| 003046 | unicode/part1/U+FBFC NormalizationTest.txt |
ﯼ␊ی
|
6 B | |
| 003047 | unicode/part1/U+FBFD NormalizationTest.txt |
ﯽ␊ی
|
6 B | |
| 003048 | unicode/part1/U+FBFE NormalizationTest.txt |
ﯾ␊ی
|
6 B | |
| 003049 | unicode/part1/U+FBFF NormalizationTest.txt |
ﯿ␊ی
|
6 B | |
| 003050 | unicode/part1/U+FC00 NormalizationTest.txt |
ﰀ␊ئج␊ئج
|
15 B | |
| 003051 | unicode/part1/U+FC01 NormalizationTest.txt |
ﰁ␊ئح␊ئح
|
15 B | |
| 003052 | unicode/part1/U+FC02 NormalizationTest.txt |
ﰂ␊ئم␊ئم
|
15 B | |
| 003053 | unicode/part1/U+FC03 NormalizationTest.txt |
ﰃ␊ئى␊ئى
|
15 B | |
| 003054 | unicode/part1/U+FC04 NormalizationTest.txt |
ﰄ␊ئي␊ئي
|
15 B | |
| 003055 | unicode/part1/U+FC05 NormalizationTest.txt |
ﰅ␊بج
|
8 B | |
| 003056 | unicode/part1/U+FC06 NormalizationTest.txt |
ﰆ␊بح
|
8 B | |
| 003057 | unicode/part1/U+FC07 NormalizationTest.txt |
ﰇ␊بخ
|
8 B | |
| 003058 | unicode/part1/U+FC08 NormalizationTest.txt |
ﰈ␊بم
|
8 B | |
| 003059 | unicode/part1/U+FC09 NormalizationTest.txt |
ﰉ␊بى
|
8 B | |
| 003060 | unicode/part1/U+FC0A NormalizationTest.txt |
ﰊ␊بي
|
8 B | |
| 003061 | unicode/part1/U+FC0B NormalizationTest.txt |
ﰋ␊تج
|
8 B | |
| 003062 | unicode/part1/U+FC0C NormalizationTest.txt |
ﰌ␊تح
|
8 B | |
| 003063 | unicode/part1/U+FC0D NormalizationTest.txt |
ﰍ␊تخ
|
8 B | |
| 003064 | unicode/part1/U+FC0E NormalizationTest.txt |
ﰎ␊تم
|
8 B | |
| 003065 | unicode/part1/U+FC0F NormalizationTest.txt |
ﰏ␊تى
|
8 B | |
| 003066 | unicode/part1/U+FC10 NormalizationTest.txt |
ﰐ␊تي
|
8 B | |
| 003067 | unicode/part1/U+FC11 NormalizationTest.txt |
ﰑ␊ثج
|
8 B | |
| 003068 | unicode/part1/U+FC12 NormalizationTest.txt |
ﰒ␊ثم
|
8 B | |
| 003069 | unicode/part1/U+FC13 NormalizationTest.txt |
ﰓ␊ثى
|
8 B | |
| 003070 | unicode/part1/U+FC14 NormalizationTest.txt |
ﰔ␊ثي
|
8 B | |
| 003071 | unicode/part1/U+FC15 NormalizationTest.txt |
ﰕ␊جح
|
8 B | |
| 003072 | unicode/part1/U+FC16 NormalizationTest.txt |
ﰖ␊جم
|
8 B | |
| 003073 | unicode/part1/U+FC17 NormalizationTest.txt |
ﰗ␊حج
|
8 B | |
| 003074 | unicode/part1/U+FC18 NormalizationTest.txt |
ﰘ␊حم
|
8 B | |
| 003075 | unicode/part1/U+FC19 NormalizationTest.txt |
ﰙ␊خج
|
8 B | |
| 003076 | unicode/part1/U+FC1A NormalizationTest.txt |
ﰚ␊خح
|
8 B | |
| 003077 | unicode/part1/U+FC1B NormalizationTest.txt |
ﰛ␊خم
|
8 B | |
| 003078 | unicode/part1/U+FC1C NormalizationTest.txt |
ﰜ␊سج
|
8 B | |
| 003079 | unicode/part1/U+FC1D NormalizationTest.txt |
ﰝ␊سح
|
8 B | |
| 003080 | unicode/part1/U+FC1E NormalizationTest.txt |
ﰞ␊سخ
|
8 B | |
| 003081 | unicode/part1/U+FC1F NormalizationTest.txt |
ﰟ␊سم
|
8 B | |
| 003082 | unicode/part1/U+FC20 NormalizationTest.txt |
ﰠ␊صح
|
8 B | |
| 003083 | unicode/part1/U+FC21 NormalizationTest.txt |
ﰡ␊صم
|
8 B | |
| 003084 | unicode/part1/U+FC22 NormalizationTest.txt |
ﰢ␊ضج
|
8 B | |
| 003085 | unicode/part1/U+FC23 NormalizationTest.txt |
ﰣ␊ضح
|
8 B | |
| 003086 | unicode/part1/U+FC24 NormalizationTest.txt |
ﰤ␊ضخ
|
8 B | |
| 003087 | unicode/part1/U+FC25 NormalizationTest.txt |
ﰥ␊ضم
|
8 B | |
| 003088 | unicode/part1/U+FC26 NormalizationTest.txt |
ﰦ␊طح
|
8 B | |
| 003089 | unicode/part1/U+FC27 NormalizationTest.txt |
ﰧ␊طم
|
8 B | |
| 003090 | unicode/part1/U+FC28 NormalizationTest.txt |
ﰨ␊ظم
|
8 B | |
| 003091 | unicode/part1/U+FC29 NormalizationTest.txt |
ﰩ␊عج
|
8 B | |
| 003092 | unicode/part1/U+FC2A NormalizationTest.txt |
ﰪ␊عم
|
8 B | |
| 003093 | unicode/part1/U+FC2B NormalizationTest.txt |
ﰫ␊غج
|
8 B | |
| 003094 | unicode/part1/U+FC2C 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