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
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 001100 | unicode/part1/U+1FF4 NormalizationTest.txt |
ῴ␊ῴ
|
10 B | |
| 001101 | unicode/part1/U+1FF6 NormalizationTest.txt |
ῶ␊ῶ
|
8 B | |
| 001102 | unicode/part1/U+1FF7 NormalizationTest.txt |
ῷ␊ῷ
|
10 B | |
| 001103 | unicode/part1/U+1FF8 NormalizationTest.txt |
Ὸ␊Ὸ
|
8 B | |
| 001104 | unicode/part1/U+1FF9 NormalizationTest.txt |
Ό␊Ό␊Ό
|
11 B | |
| 001105 | unicode/part1/U+1FFA NormalizationTest.txt |
Ὼ␊Ὼ
|
8 B | |
| 001106 | unicode/part1/U+1FFB NormalizationTest.txt |
Ώ␊Ώ␊Ώ
|
11 B | |
| 001107 | unicode/part1/U+1FFC NormalizationTest.txt |
ῼ␊ῼ
|
8 B | |
| 001108 | unicode/part1/U+1FFD NormalizationTest.txt |
´␊´␊ ́
|
10 B | |
| 001109 | unicode/part1/U+1FFE NormalizationTest.txt |
῾␊ ̔
|
7 B | |
| 001110 | unicode/part1/U+2000 NormalizationTest.txt |
␊ ␊
|
9 B | |
| 001111 | unicode/part1/U+2001 NormalizationTest.txt |
␊ ␊
|
9 B | |
| 001112 | unicode/part1/U+2002 NormalizationTest.txt |
␊
|
5 B | |
| 001113 | unicode/part1/U+2003 NormalizationTest.txt |
␊
|
5 B | |
| 001114 | unicode/part1/U+2004 NormalizationTest.txt |
␊
|
5 B | |
| 001115 | unicode/part1/U+2005 NormalizationTest.txt |
␊
|
5 B | |
| 001116 | unicode/part1/U+2006 NormalizationTest.txt |
␊
|
5 B | |
| 001117 | unicode/part1/U+2007 NormalizationTest.txt |
␊
|
5 B | |
| 001118 | unicode/part1/U+2008 NormalizationTest.txt |
␊
|
5 B | |
| 001119 | unicode/part1/U+2009 NormalizationTest.txt |
␊
|
5 B | |
| 001120 | unicode/part1/U+200A NormalizationTest.txt |
␊
|
5 B | |
| 001121 | unicode/part1/U+2011 NormalizationTest.txt |
‑␊‐
|
7 B | |
| 001122 | unicode/part1/U+2017 NormalizationTest.txt |
‗␊ ̳
|
7 B | |
| 001123 | unicode/part1/U+2024 NormalizationTest.txt |
․␊.
|
5 B | |
| 001124 | unicode/part1/U+2025 NormalizationTest.txt |
‥␊..
|
6 B | |
| 001125 | unicode/part1/U+2026 NormalizationTest.txt |
…␊...
|
7 B | |
| 001126 | unicode/part1/U+202F NormalizationTest.txt |
␊
|
5 B | |
| 001127 | unicode/part1/U+2033 NormalizationTest.txt |
″␊′′
|
10 B | |
| 001128 | unicode/part1/U+2034 NormalizationTest.txt |
‴␊′′′
|
13 B | |
| 001129 | unicode/part1/U+2036 NormalizationTest.txt |
‶␊‵‵
|
10 B | |
| 001130 | unicode/part1/U+2037 NormalizationTest.txt |
‷␊‵‵‵
|
13 B | |
| 001131 | unicode/part1/U+203C NormalizationTest.txt |
‼␊!!
|
6 B | |
| 001132 | unicode/part1/U+203E NormalizationTest.txt |
‾␊ ̅
|
7 B | |
| 001133 | unicode/part1/U+2047 NormalizationTest.txt |
⁇␊??
|
6 B | |
| 001134 | unicode/part1/U+2048 NormalizationTest.txt |
⁈␊?!
|
6 B | |
| 001135 | unicode/part1/U+2049 NormalizationTest.txt |
⁉␊!?
|
6 B | |
| 001136 | unicode/part1/U+2057 NormalizationTest.txt |
⁗␊′′′′
|
16 B | |
| 001137 | unicode/part1/U+205F NormalizationTest.txt |
␊
|
5 B | |
| 001138 | unicode/part1/U+2070 NormalizationTest.txt |
⁰␊0
|
5 B | |
| 001139 | unicode/part1/U+2071 NormalizationTest.txt |
ⁱ␊i
|
5 B | |
| 001140 | unicode/part1/U+2074 NormalizationTest.txt |
⁴␊4
|
5 B | |
| 001141 | unicode/part1/U+2075 NormalizationTest.txt |
⁵␊5
|
5 B | |
| 001142 | unicode/part1/U+2076 NormalizationTest.txt |
⁶␊6
|
5 B | |
| 001143 | unicode/part1/U+2077 NormalizationTest.txt |
⁷␊7
|
5 B | |
| 001144 | unicode/part1/U+2078 NormalizationTest.txt |
⁸␊8
|
5 B | |
| 001145 | unicode/part1/U+2079 NormalizationTest.txt |
⁹␊9
|
5 B | |
| 001146 | unicode/part1/U+207A NormalizationTest.txt |
⁺␊+
|
5 B | |
| 001147 | unicode/part1/U+207B NormalizationTest.txt |
⁻␊−
|
7 B | |
| 001148 | unicode/part1/U+207C NormalizationTest.txt |
⁼␊=
|
5 B | |
| 001149 | unicode/part1/U+207D NormalizationTest.txt |
⁽␊(
|
5 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