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 |
|---|---|---|---|---|
| 003233 | unicode/part1/U+FCB7 NormalizationTest.txt |
ﲷ␊ضم
|
8 B | |
| 003234 | unicode/part1/U+FCB8 NormalizationTest.txt |
ﲸ␊طح
|
8 B | |
| 003235 | unicode/part1/U+FCB9 NormalizationTest.txt |
ﲹ␊ظم
|
8 B | |
| 003236 | unicode/part1/U+FCBA NormalizationTest.txt |
ﲺ␊عج
|
8 B | |
| 003237 | unicode/part1/U+FCBB NormalizationTest.txt |
ﲻ␊عم
|
8 B | |
| 003238 | unicode/part1/U+FCBC NormalizationTest.txt |
ﲼ␊غج
|
8 B | |
| 003239 | unicode/part1/U+FCBD NormalizationTest.txt |
ﲽ␊غم
|
8 B | |
| 003240 | unicode/part1/U+FCBE NormalizationTest.txt |
ﲾ␊فج
|
8 B | |
| 003241 | unicode/part1/U+FCBF NormalizationTest.txt |
ﲿ␊فح
|
8 B | |
| 003242 | unicode/part1/U+FCC0 NormalizationTest.txt |
ﳀ␊فخ
|
8 B | |
| 003243 | unicode/part1/U+FCC1 NormalizationTest.txt |
ﳁ␊فم
|
8 B | |
| 003244 | unicode/part1/U+FCC2 NormalizationTest.txt |
ﳂ␊قح
|
8 B | |
| 003245 | unicode/part1/U+FCC3 NormalizationTest.txt |
ﳃ␊قم
|
8 B | |
| 003246 | unicode/part1/U+FCC4 NormalizationTest.txt |
ﳄ␊كج
|
8 B | |
| 003247 | unicode/part1/U+FCC5 NormalizationTest.txt |
ﳅ␊كح
|
8 B | |
| 003248 | unicode/part1/U+FCC6 NormalizationTest.txt |
ﳆ␊كخ
|
8 B | |
| 003249 | unicode/part1/U+FCC7 NormalizationTest.txt |
ﳇ␊كل
|
8 B | |
| 003250 | unicode/part1/U+FCC8 NormalizationTest.txt |
ﳈ␊كم
|
8 B | |
| 003251 | unicode/part1/U+FCC9 NormalizationTest.txt |
ﳉ␊لج
|
8 B | |
| 003252 | unicode/part1/U+FCCA NormalizationTest.txt |
ﳊ␊لح
|
8 B | |
| 003253 | unicode/part1/U+FCCB NormalizationTest.txt |
ﳋ␊لخ
|
8 B | |
| 003254 | unicode/part1/U+FCCC NormalizationTest.txt |
ﳌ␊لم
|
8 B | |
| 003255 | unicode/part1/U+FCCD NormalizationTest.txt |
ﳍ␊له
|
8 B | |
| 003256 | unicode/part1/U+FCCE NormalizationTest.txt |
ﳎ␊مج
|
8 B | |
| 003257 | unicode/part1/U+FCCF NormalizationTest.txt |
ﳏ␊مح
|
8 B | |
| 003258 | unicode/part1/U+FCD0 NormalizationTest.txt |
ﳐ␊مخ
|
8 B | |
| 003259 | unicode/part1/U+FCD1 NormalizationTest.txt |
ﳑ␊مم
|
8 B | |
| 003260 | unicode/part1/U+FCD2 NormalizationTest.txt |
ﳒ␊نج
|
8 B | |
| 003261 | unicode/part1/U+FCD3 NormalizationTest.txt |
ﳓ␊نح
|
8 B | |
| 003262 | unicode/part1/U+FCD4 NormalizationTest.txt |
ﳔ␊نخ
|
8 B | |
| 003263 | unicode/part1/U+FCD5 NormalizationTest.txt |
ﳕ␊نم
|
8 B | |
| 003264 | unicode/part1/U+FCD6 NormalizationTest.txt |
ﳖ␊نه
|
8 B | |
| 003265 | unicode/part1/U+FCD7 NormalizationTest.txt |
ﳗ␊هج
|
8 B | |
| 003266 | unicode/part1/U+FCD8 NormalizationTest.txt |
ﳘ␊هم
|
8 B | |
| 003267 | unicode/part1/U+FCD9 NormalizationTest.txt |
ﳙ␊هٰ
|
8 B | |
| 003268 | unicode/part1/U+FCDA NormalizationTest.txt |
ﳚ␊يج
|
8 B | |
| 003269 | unicode/part1/U+FCDB NormalizationTest.txt |
ﳛ␊يح
|
8 B | |
| 003270 | unicode/part1/U+FCDC NormalizationTest.txt |
ﳜ␊يخ
|
8 B | |
| 003271 | unicode/part1/U+FCDD NormalizationTest.txt |
ﳝ␊يم
|
8 B | |
| 003272 | unicode/part1/U+FCDE NormalizationTest.txt |
ﳞ␊يه
|
8 B | |
| 003273 | unicode/part1/U+FCDF NormalizationTest.txt |
ﳟ␊ئم␊ئم
|
15 B | |
| 003274 | unicode/part1/U+FCE0 NormalizationTest.txt |
ﳠ␊ئه␊ئه
|
15 B | |
| 003275 | unicode/part1/U+FCE1 NormalizationTest.txt |
ﳡ␊بم
|
8 B | |
| 003276 | unicode/part1/U+FCE2 NormalizationTest.txt |
ﳢ␊به
|
8 B | |
| 003277 | unicode/part1/U+FCE3 NormalizationTest.txt |
ﳣ␊تم
|
8 B | |
| 003278 | unicode/part1/U+FCE4 NormalizationTest.txt |
ﳤ␊ته
|
8 B | |
| 003279 | unicode/part1/U+FCE5 NormalizationTest.txt |
ﳥ␊ثم
|
8 B | |
| 003280 | unicode/part1/U+FCE6 NormalizationTest.txt |
ﳦ␊ثه
|
8 B | |
| 003281 | unicode/part1/U+FCE7 NormalizationTest.txt |
ﳧ␊سم
|
8 B | |
| 003282 | unicode/part1/U+FCE8 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