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
Clear

3,833 of 11,911 cases

Case Name Expected Note Size
002139 unicode/part1/U+3313 NormalizationTest.txt ㌓␊ギルダー␊ギルダー Line 2192: SQUARE GIRUDAA. Its distinct columns, one per line. 35 B
002140 unicode/part1/U+3314 NormalizationTest.txt ㌔␊キロ Line 2193: SQUARE KIRO. Its distinct columns, one per line. 10 B
002141 unicode/part1/U+3315 NormalizationTest.txt ㌕␊キログラム␊キログラム Line 2194: SQUARE KIROGURAMU. Its distinct columns, one per line. 38 B
002142 unicode/part1/U+3316 NormalizationTest.txt ㌖␊キロメートル Line 2195: SQUARE KIROMEETORU. Its distinct columns, one per line. 22 B
002143 unicode/part1/U+3317 NormalizationTest.txt ㌗␊キロワット Line 2196: SQUARE KIROWATTO. Its distinct columns, one per line. 19 B
002144 unicode/part1/U+3318 NormalizationTest.txt ㌘␊グラム␊グラム Line 2197: SQUARE GURAMU. Its distinct columns, one per line. 26 B
002145 unicode/part1/U+3319 NormalizationTest.txt ㌙␊グラムトン␊グラムトン Line 2198: SQUARE GURAMUTON. Its distinct columns, one per line. 38 B
002146 unicode/part1/U+331A NormalizationTest.txt ㌚␊クルゼイロ␊クルゼイロ Line 2199: SQUARE KURUZEIRO. Its distinct columns, one per line. 38 B
002147 unicode/part1/U+331B NormalizationTest.txt ㌛␊クローネ Line 2200: SQUARE KUROONE. Its distinct columns, one per line. 16 B
002148 unicode/part1/U+331C NormalizationTest.txt ㌜␊ケース Line 2201: SQUARE KEESU. Its distinct columns, one per line. 13 B
002149 unicode/part1/U+331D NormalizationTest.txt ㌝␊コルナ Line 2202: SQUARE KORUNA. Its distinct columns, one per line. 13 B
002150 unicode/part1/U+331E NormalizationTest.txt ㌞␊コーポ␊コーポ Line 2203: SQUARE KOOPO. Its distinct columns, one per line. 26 B
002151 unicode/part1/U+331F NormalizationTest.txt ㌟␊サイクル Line 2204: SQUARE SAIKURU. Its distinct columns, one per line. 16 B
002152 unicode/part1/U+3320 NormalizationTest.txt ㌠␊サンチーム Line 2205: SQUARE SANTIIMU. Its distinct columns, one per line. 19 B
002153 unicode/part1/U+3321 NormalizationTest.txt ㌡␊シリング␊シリング Line 2206: SQUARE SIRINGU. Its distinct columns, one per line. 32 B
002154 unicode/part1/U+3322 NormalizationTest.txt ㌢␊センチ Line 2207: SQUARE SENTI. Its distinct columns, one per line. 13 B
002155 unicode/part1/U+3323 NormalizationTest.txt ㌣␊セント Line 2208: SQUARE SENTO. Its distinct columns, one per line. 13 B
002156 unicode/part1/U+3324 NormalizationTest.txt ㌤␊ダース␊ダース Line 2209: SQUARE DAASU. Its distinct columns, one per line. 26 B
002157 unicode/part1/U+3325 NormalizationTest.txt ㌥␊デシ␊デシ Line 2210: SQUARE DESI. Its distinct columns, one per line. 20 B
002158 unicode/part1/U+3326 NormalizationTest.txt ㌦␊ドル␊ドル Line 2211: SQUARE DORU. Its distinct columns, one per line. 20 B
002159 unicode/part1/U+3327 NormalizationTest.txt ㌧␊トン Line 2212: SQUARE TON. Its distinct columns, one per line. 10 B
002160 unicode/part1/U+3328 NormalizationTest.txt ㌨␊ナノ Line 2213: SQUARE NANO. Its distinct columns, one per line. 10 B
002161 unicode/part1/U+3329 NormalizationTest.txt ㌩␊ノット Line 2214: SQUARE NOTTO. Its distinct columns, one per line. 13 B
002162 unicode/part1/U+332A NormalizationTest.txt ㌪␊ハイツ Line 2215: SQUARE HAITU. Its distinct columns, one per line. 13 B
002163 unicode/part1/U+332B NormalizationTest.txt ㌫␊パーセント␊パーセント Line 2216: SQUARE PAASENTO. Its distinct columns, one per line. 38 B
002164 unicode/part1/U+332C NormalizationTest.txt ㌬␊パーツ␊パーツ Line 2217: SQUARE PAATU. Its distinct columns, one per line. 26 B
002165 unicode/part1/U+332D NormalizationTest.txt ㌭␊バーレル␊バーレル Line 2218: SQUARE BAARERU. Its distinct columns, one per line. 32 B
002166 unicode/part1/U+332E NormalizationTest.txt ㌮␊ピアストル␊ピアストル Line 2219: SQUARE PIASUTORU. Its distinct columns, one per line. 38 B
002167 unicode/part1/U+332F NormalizationTest.txt ㌯␊ピクル␊ピクル Line 2220: SQUARE PIKURU. Its distinct columns, one per line. 26 B
002168 unicode/part1/U+3330 NormalizationTest.txt ㌰␊ピコ␊ピコ Line 2221: SQUARE PIKO. Its distinct columns, one per line. 20 B
002169 unicode/part1/U+3331 NormalizationTest.txt ㌱␊ビル␊ビル Line 2222: SQUARE BIRU. Its distinct columns, one per line. 20 B
002170 unicode/part1/U+3332 NormalizationTest.txt ㌲␊ファラッド␊ファラッド Line 2223: SQUARE HUARADDO. Its distinct columns, one per line. 38 B
002171 unicode/part1/U+3333 NormalizationTest.txt ㌳␊フィート Line 2224: SQUARE HUIITO. Its distinct columns, one per line. 16 B
002172 unicode/part1/U+3334 NormalizationTest.txt ㌴␊ブッシェル␊ブッシェル Line 2225: SQUARE BUSSYERU. Its distinct columns, one per line. 38 B
002173 unicode/part1/U+3335 NormalizationTest.txt ㌵␊フラン Line 2226: SQUARE HURAN. Its distinct columns, one per line. 13 B
002174 unicode/part1/U+3336 NormalizationTest.txt ㌶␊ヘクタール Line 2227: SQUARE HEKUTAARU. Its distinct columns, one per line. 19 B
002175 unicode/part1/U+3337 NormalizationTest.txt ㌷␊ペソ␊ペソ Line 2228: SQUARE PESO. Its distinct columns, one per line. 20 B
002176 unicode/part1/U+3338 NormalizationTest.txt ㌸␊ペニヒ␊ペニヒ Line 2229: SQUARE PENIHI. Its distinct columns, one per line. 26 B
002177 unicode/part1/U+3339 NormalizationTest.txt ㌹␊ヘルツ Line 2230: SQUARE HERUTU. Its distinct columns, one per line. 13 B
002178 unicode/part1/U+333A NormalizationTest.txt ㌺␊ペンス␊ペンス Line 2231: SQUARE PENSU. Its distinct columns, one per line. 26 B
002179 unicode/part1/U+333B NormalizationTest.txt ㌻␊ページ␊ページ Line 2232: SQUARE PEEZI. Its distinct columns, one per line. 29 B
002180 unicode/part1/U+333C NormalizationTest.txt ㌼␊ベータ␊ベータ Line 2233: SQUARE BEETA. Its distinct columns, one per line. 26 B
002181 unicode/part1/U+333D NormalizationTest.txt ㌽␊ポイント␊ポイント Line 2234: SQUARE POINTO. Its distinct columns, one per line. 32 B
002182 unicode/part1/U+333E NormalizationTest.txt ㌾␊ボルト␊ボルト Line 2235: SQUARE BORUTO. Its distinct columns, one per line. 26 B
002183 unicode/part1/U+333F NormalizationTest.txt ㌿␊ホン Line 2236: SQUARE HON. Its distinct columns, one per line. 10 B
002184 unicode/part1/U+3340 NormalizationTest.txt ㍀␊ポンド␊ポンド Line 2237: SQUARE PONDO. Its distinct columns, one per line. 29 B
002185 unicode/part1/U+3341 NormalizationTest.txt ㍁␊ホール Line 2238: SQUARE HOORU. Its distinct columns, one per line. 13 B
002186 unicode/part1/U+3342 NormalizationTest.txt ㍂␊ホーン Line 2239: SQUARE HOON. Its distinct columns, one per line. 13 B
002187 unicode/part1/U+3343 NormalizationTest.txt ㍃␊マイクロ Line 2240: SQUARE MAIKURO. Its distinct columns, one per line. 16 B
002188 unicode/part1/U+3344 NormalizationTest.txt ㍄␊マイル Line 2241: SQUARE MAIRU. Its distinct columns, one per line. 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.