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
3,833 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 003033 | unicode/part1/U+FBEF NormalizationTest.txt |
ﯯ␊ئو␊ئو
|
15 B | |
| 003034 | unicode/part1/U+FBF0 NormalizationTest.txt |
ﯰ␊ئۇ␊ئۇ
|
15 B | |
| 003035 | unicode/part1/U+FBF1 NormalizationTest.txt |
ﯱ␊ئۇ␊ئۇ
|
15 B | |
| 003036 | unicode/part1/U+FBF2 NormalizationTest.txt |
ﯲ␊ئۆ␊ئۆ
|
15 B | |
| 003037 | unicode/part1/U+FBF3 NormalizationTest.txt |
ﯳ␊ئۆ␊ئۆ
|
15 B | |
| 003038 | unicode/part1/U+FBF4 NormalizationTest.txt |
ﯴ␊ئۈ␊ئۈ
|
15 B | |
| 003039 | unicode/part1/U+FBF5 NormalizationTest.txt |
ﯵ␊ئۈ␊ئۈ
|
15 B | |
| 003040 | unicode/part1/U+FBF6 NormalizationTest.txt |
ﯶ␊ئې␊ئې
|
15 B | |
| 003041 | unicode/part1/U+FBF7 NormalizationTest.txt |
ﯷ␊ئې␊ئې
|
15 B | |
| 003042 | unicode/part1/U+FBF8 NormalizationTest.txt |
ﯸ␊ئې␊ئې
|
15 B | |
| 003043 | unicode/part1/U+FBF9 NormalizationTest.txt |
ﯹ␊ئى␊ئى
|
15 B | |
| 003044 | unicode/part1/U+FBFA NormalizationTest.txt |
ﯺ␊ئى␊ئى
|
15 B | |
| 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 |
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