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
1,049 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 002407 | unicode/part1/U+F911 NormalizationTest.txt |
螺␊螺
|
7 B | |
| 002408 | unicode/part1/U+F912 NormalizationTest.txt |
裸␊裸
|
7 B | |
| 002409 | unicode/part1/U+F913 NormalizationTest.txt |
邏␊邏
|
7 B | |
| 002410 | unicode/part1/U+F914 NormalizationTest.txt |
樂␊樂
|
7 B | |
| 002411 | unicode/part1/U+F915 NormalizationTest.txt |
洛␊洛
|
7 B | |
| 002412 | unicode/part1/U+F916 NormalizationTest.txt |
烙␊烙
|
7 B | |
| 002413 | unicode/part1/U+F917 NormalizationTest.txt |
珞␊珞
|
7 B | |
| 002414 | unicode/part1/U+F918 NormalizationTest.txt |
落␊落
|
7 B | |
| 002415 | unicode/part1/U+F919 NormalizationTest.txt |
酪␊酪
|
7 B | |
| 002416 | unicode/part1/U+F91A NormalizationTest.txt |
駱␊駱
|
7 B | |
| 002417 | unicode/part1/U+F91B NormalizationTest.txt |
亂␊亂
|
7 B | |
| 002418 | unicode/part1/U+F91C NormalizationTest.txt |
卵␊卵
|
7 B | |
| 002419 | unicode/part1/U+F91D NormalizationTest.txt |
欄␊欄
|
7 B | |
| 002420 | unicode/part1/U+F91E NormalizationTest.txt |
爛␊爛
|
7 B | |
| 002421 | unicode/part1/U+F91F NormalizationTest.txt |
蘭␊蘭
|
7 B | |
| 002422 | unicode/part1/U+F920 NormalizationTest.txt |
鸞␊鸞
|
7 B | |
| 002423 | unicode/part1/U+F921 NormalizationTest.txt |
嵐␊嵐
|
7 B | |
| 002424 | unicode/part1/U+F922 NormalizationTest.txt |
濫␊濫
|
7 B | |
| 002425 | unicode/part1/U+F923 NormalizationTest.txt |
藍␊藍
|
7 B | |
| 002426 | unicode/part1/U+F924 NormalizationTest.txt |
襤␊襤
|
7 B | |
| 002427 | unicode/part1/U+F925 NormalizationTest.txt |
拉␊拉
|
7 B | |
| 002428 | unicode/part1/U+F926 NormalizationTest.txt |
臘␊臘
|
7 B | |
| 002429 | unicode/part1/U+F927 NormalizationTest.txt |
蠟␊蠟
|
7 B | |
| 002430 | unicode/part1/U+F928 NormalizationTest.txt |
廊␊廊
|
7 B | |
| 002431 | unicode/part1/U+F929 NormalizationTest.txt |
朗␊朗
|
7 B | |
| 002432 | unicode/part1/U+F92A NormalizationTest.txt |
浪␊浪
|
7 B | |
| 002433 | unicode/part1/U+F92B NormalizationTest.txt |
狼␊狼
|
7 B | |
| 002434 | unicode/part1/U+F92C NormalizationTest.txt |
郎␊郎
|
7 B | |
| 002435 | unicode/part1/U+F92D NormalizationTest.txt |
來␊來
|
7 B | |
| 002436 | unicode/part1/U+F92E NormalizationTest.txt |
冷␊冷
|
7 B | |
| 002437 | unicode/part1/U+F92F NormalizationTest.txt |
勞␊勞
|
7 B | |
| 002438 | unicode/part1/U+F930 NormalizationTest.txt |
擄␊擄
|
7 B | |
| 002439 | unicode/part1/U+F931 NormalizationTest.txt |
櫓␊櫓
|
7 B | |
| 002440 | unicode/part1/U+F932 NormalizationTest.txt |
爐␊爐
|
7 B | |
| 002441 | unicode/part1/U+F933 NormalizationTest.txt |
盧␊盧
|
7 B | |
| 002442 | unicode/part1/U+F934 NormalizationTest.txt |
老␊老
|
7 B | |
| 002443 | unicode/part1/U+F935 NormalizationTest.txt |
蘆␊蘆
|
7 B | |
| 002444 | unicode/part1/U+F936 NormalizationTest.txt |
虜␊虜
|
7 B | |
| 002445 | unicode/part1/U+F937 NormalizationTest.txt |
路␊路
|
7 B | |
| 002446 | unicode/part1/U+F938 NormalizationTest.txt |
露␊露
|
7 B | |
| 002447 | unicode/part1/U+F939 NormalizationTest.txt |
魯␊魯
|
7 B | |
| 002448 | unicode/part1/U+F93A NormalizationTest.txt |
鷺␊鷺
|
7 B | |
| 002449 | unicode/part1/U+F93B NormalizationTest.txt |
碌␊碌
|
7 B | |
| 002450 | unicode/part1/U+F93C NormalizationTest.txt |
祿␊祿
|
7 B | |
| 002451 | unicode/part1/U+F93D NormalizationTest.txt |
綠␊綠
|
7 B | |
| 002452 | unicode/part1/U+F93E NormalizationTest.txt |
菉␊菉
|
7 B | |
| 002453 | unicode/part1/U+F93F NormalizationTest.txt |
錄␊錄
|
7 B | |
| 002454 | unicode/part1/U+F940 NormalizationTest.txt |
鹿␊鹿
|
7 B | |
| 002455 | unicode/part1/U+F941 NormalizationTest.txt |
論␊論
|
7 B | |
| 002456 | unicode/part1/U+F942 NormalizationTest.txt |
壟␊壟
|
7 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