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 |
|---|---|---|---|---|
| 002139 | unicode/part1/U+3313 NormalizationTest.txt |
㌓␊ギルダー␊ギルダー
|
35 B | |
| 002140 | unicode/part1/U+3314 NormalizationTest.txt |
㌔␊キロ
|
10 B | |
| 002141 | unicode/part1/U+3315 NormalizationTest.txt |
㌕␊キログラム␊キログラム
|
38 B | |
| 002142 | unicode/part1/U+3316 NormalizationTest.txt |
㌖␊キロメートル
|
22 B | |
| 002143 | unicode/part1/U+3317 NormalizationTest.txt |
㌗␊キロワット
|
19 B | |
| 002144 | unicode/part1/U+3318 NormalizationTest.txt |
㌘␊グラム␊グラム
|
26 B | |
| 002145 | unicode/part1/U+3319 NormalizationTest.txt |
㌙␊グラムトン␊グラムトン
|
38 B | |
| 002146 | unicode/part1/U+331A NormalizationTest.txt |
㌚␊クルゼイロ␊クルゼイロ
|
38 B | |
| 002147 | unicode/part1/U+331B NormalizationTest.txt |
㌛␊クローネ
|
16 B | |
| 002148 | unicode/part1/U+331C NormalizationTest.txt |
㌜␊ケース
|
13 B | |
| 002149 | unicode/part1/U+331D NormalizationTest.txt |
㌝␊コルナ
|
13 B | |
| 002150 | unicode/part1/U+331E NormalizationTest.txt |
㌞␊コーポ␊コーポ
|
26 B | |
| 002151 | unicode/part1/U+331F NormalizationTest.txt |
㌟␊サイクル
|
16 B | |
| 002152 | unicode/part1/U+3320 NormalizationTest.txt |
㌠␊サンチーム
|
19 B | |
| 002153 | unicode/part1/U+3321 NormalizationTest.txt |
㌡␊シリング␊シリング
|
32 B | |
| 002154 | unicode/part1/U+3322 NormalizationTest.txt |
㌢␊センチ
|
13 B | |
| 002155 | unicode/part1/U+3323 NormalizationTest.txt |
㌣␊セント
|
13 B | |
| 002156 | unicode/part1/U+3324 NormalizationTest.txt |
㌤␊ダース␊ダース
|
26 B | |
| 002157 | unicode/part1/U+3325 NormalizationTest.txt |
㌥␊デシ␊デシ
|
20 B | |
| 002158 | unicode/part1/U+3326 NormalizationTest.txt |
㌦␊ドル␊ドル
|
20 B | |
| 002159 | unicode/part1/U+3327 NormalizationTest.txt |
㌧␊トン
|
10 B | |
| 002160 | unicode/part1/U+3328 NormalizationTest.txt |
㌨␊ナノ
|
10 B | |
| 002161 | unicode/part1/U+3329 NormalizationTest.txt |
㌩␊ノット
|
13 B | |
| 002162 | unicode/part1/U+332A NormalizationTest.txt |
㌪␊ハイツ
|
13 B | |
| 002163 | unicode/part1/U+332B NormalizationTest.txt |
㌫␊パーセント␊パーセント
|
38 B | |
| 002164 | unicode/part1/U+332C NormalizationTest.txt |
㌬␊パーツ␊パーツ
|
26 B | |
| 002165 | unicode/part1/U+332D NormalizationTest.txt |
㌭␊バーレル␊バーレル
|
32 B | |
| 002166 | unicode/part1/U+332E NormalizationTest.txt |
㌮␊ピアストル␊ピアストル
|
38 B | |
| 002167 | unicode/part1/U+332F NormalizationTest.txt |
㌯␊ピクル␊ピクル
|
26 B | |
| 002168 | unicode/part1/U+3330 NormalizationTest.txt |
㌰␊ピコ␊ピコ
|
20 B | |
| 002169 | unicode/part1/U+3331 NormalizationTest.txt |
㌱␊ビル␊ビル
|
20 B | |
| 002170 | unicode/part1/U+3332 NormalizationTest.txt |
㌲␊ファラッド␊ファラッド
|
38 B | |
| 002171 | unicode/part1/U+3333 NormalizationTest.txt |
㌳␊フィート
|
16 B | |
| 002172 | unicode/part1/U+3334 NormalizationTest.txt |
㌴␊ブッシェル␊ブッシェル
|
38 B | |
| 002173 | unicode/part1/U+3335 NormalizationTest.txt |
㌵␊フラン
|
13 B | |
| 002174 | unicode/part1/U+3336 NormalizationTest.txt |
㌶␊ヘクタール
|
19 B | |
| 002175 | unicode/part1/U+3337 NormalizationTest.txt |
㌷␊ペソ␊ペソ
|
20 B | |
| 002176 | unicode/part1/U+3338 NormalizationTest.txt |
㌸␊ペニヒ␊ペニヒ
|
26 B | |
| 002177 | unicode/part1/U+3339 NormalizationTest.txt |
㌹␊ヘルツ
|
13 B | |
| 002178 | unicode/part1/U+333A NormalizationTest.txt |
㌺␊ペンス␊ペンス
|
26 B | |
| 002179 | unicode/part1/U+333B NormalizationTest.txt |
㌻␊ページ␊ページ
|
29 B | |
| 002180 | unicode/part1/U+333C NormalizationTest.txt |
㌼␊ベータ␊ベータ
|
26 B | |
| 002181 | unicode/part1/U+333D NormalizationTest.txt |
㌽␊ポイント␊ポイント
|
32 B | |
| 002182 | unicode/part1/U+333E NormalizationTest.txt |
㌾␊ボルト␊ボルト
|
26 B | |
| 002183 | unicode/part1/U+333F NormalizationTest.txt |
㌿␊ホン
|
10 B | |
| 002184 | unicode/part1/U+3340 NormalizationTest.txt |
㍀␊ポンド␊ポンド
|
29 B | |
| 002185 | unicode/part1/U+3341 NormalizationTest.txt |
㍁␊ホール
|
13 B | |
| 002186 | unicode/part1/U+3342 NormalizationTest.txt |
㍂␊ホーン
|
13 B | |
| 002187 | unicode/part1/U+3343 NormalizationTest.txt |
㍃␊マイクロ
|
16 B | |
| 002188 | unicode/part1/U+3344 NormalizationTest.txt |
㍄␊マイル
|
13 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