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 |
|---|---|---|---|---|
| 009150 | regression/text/Czech mixed Focused regression |
Příliš žluťoučký kůň úpěl ďábelské ódy.
|
61 B | |
| 009151 | regression/text/Greek Focused regression |
Ξεσκεπάζω την ψυχοφθόρα βδελυγμία.
|
64 B | |
| 009152 | regression/text/Greek decomposed Focused regression |
Ξεσκεπάζω την ψυχοφθόρα βδελυγμία.
|
70 B | |
| 009153 | regression/text/Greek mixed Focused regression |
Ξεσκεπάζω την ψυχοφθόρα βδελυγμία.
|
66 B | |
| 009154 | regression/text/polytonic Greek Focused regression |
Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν…
|
135 B | |
| 009155 | regression/text/polytonic Greek decomposed Focused regression |
Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν…
|
165 B | |
| 009156 | regression/text/polytonic Greek mixed Focused regression |
Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν…
|
148 B | |
| 009157 | regression/text/Russian Focused regression |
Съешь же ещё этих мягких французских булок, да в…
|
119 B | |
| 009158 | regression/text/Russian decomposed Focused regression |
Съешь же ещё этих мягких французских булок, да в…
|
127 B | |
| 009159 | regression/text/Korean Focused regression |
다람쥐 헌 쳇바퀴에 타고파. 한글은 한국어를 적는 문자이다.
|
81 B | |
| 009160 | regression/text/Korean decomposed Focused regression |
다람쥐 헌 쳇바퀴에 타고파. 한글은 한국어를 적는 문자이다.
|
189 B | |
| 009161 | regression/text/Korean mixed Focused regression |
다람쥐 헌 쳇바퀴에 타고파. 한글은 한국어를 적는 문자이다.
|
132 B | |
| 009162 | regression/text/Japanese Focused regression |
いろはにほへと ちりぬるを。ガギグゲゴ、パピプペポ、ヴァイオリン。
|
97 B | |
| 009163 | regression/text/Japanese decomposed Focused regression |
いろはにほへと ちりぬるを。ガギグゲゴ、パピプペポ、ヴァイオリン。
|
130 B | |
| 009164 | regression/text/Hebrew Focused regression |
בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָרֶץ
|
108 B | |
| 009165 | regression/text/Arabic Focused regression |
بِسْمِ ٱللَّٰهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ. نصٌّ حكيمٌ لهُ سِرٌّ قاطِعٌ
|
127 B | |
| 009166 | regression/text/Hindi Focused regression |
ऋषियों को सताने वाले दुष्ट राक्षसों के राजा रावण का सर्वनाश। क़िला, ज़मीन, फ़ौज…
|
222 B | |
| 009167 | regression/text/Bengali Focused regression |
আমি কাঁচ খেতে পারি, তাতে আমার কোনো ক্ষতি হয় না। বড়ো, আষাঢ়, য়
|
162 B | |
| 009168 | regression/text/Bengali decomposed Focused regression |
আমি কাঁচ খেতে পারি, তাতে আমার কোনো ক্ষতি হয় না। বড়ো, আষাঢ়, য়
|
171 B | |
| 009169 | regression/text/Tamil Focused regression |
நான் கண்ணாடி சாப்பிடுவேன், அதனால் எனக்கு ஒரு கேடும் வராது. கொ கோ கௌ
|
177 B | |
| 009170 | regression/text/Tamil decomposed Focused regression |
நான் கண்ணாடி சாப்பிடுவேன், அதனால் எனக்கு ஒரு கேடும் வராது. கொ கோ கௌ
|
186 B | |
| 009171 | regression/text/Tamil mixed Focused regression |
நான் கண்ணாடி சாப்பிடுவேன், அதனால் எனக்கு ஒரு கேடும் வராது. கொ கோ கௌ
|
180 B | |
| 009172 | regression/text/Thai Focused regression |
เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน
|
169 B | |
| 009173 | regression/text/Tibetan Focused regression |
བོད་སྐད་ནི་བོད་ཡིག་གི་སྐད་ཡིན། གྷ་ཌྷ་དྷ་བྷ་ཛྷ་ཀྵ
|
142 B | |
| 009174 | regression/text/Chinese Focused regression |
我能吞下玻璃而不伤身体。視野無限廣,窗外有藍天。
|
72 B | |
| 009175 | regression/text/emoji Focused regression |
👩🏽⟨U+200D⟩💻 writes ❤️ for 👨⟨U+200D⟩👩⟨U+200D⟩👧⟨U+200D⟩👦 and 🏳️⟨U+200D⟩🌈, é and 🇳🇿.
|
96 B | |
| 009176 | regression/text/emoji decomposed Focused regression |
👩🏽⟨U+200D⟩💻 writes ❤️ for 👨⟨U+200D⟩👩⟨U+200D⟩👧⟨U+200D⟩👦 and 🏳️⟨U+200D⟩🌈, é and 🇳🇿.
|
97 B | |
| 009177 | regression/block/ASCII/e + acute at 12 Focused regression |
eeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
55 B | |
| 009178 | regression/block/ASCII/acute at 12 Focused regression |
eeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
54 B | |
| 009179 | regression/block/ASCII/angstrom sign at 12 Focused regression |
eeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
55 B | |
| 009180 | regression/block/ASCII/jamo at 12 Focused regression |
eeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
61 B | |
| 009181 | regression/block/ASCII/qa at 12 Focused regression |
eeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
55 B | |
| 009182 | regression/block/ASCII/marks to reorder at 12 Focused regression |
eeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009183 | regression/block/ASCII/a + circumflex + acute at 12 Focused regression |
eeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009184 | regression/block/ASCII/precomposed at 12 Focused regression |
eeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
55 B | |
| 009185 | regression/block/ASCII/musical symbol at 12 Focused regression |
eeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009186 | regression/block/ASCII/e + acute at 13 Focused regression |
eeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009187 | regression/block/ASCII/angstrom sign at 13 Focused regression |
eeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009188 | regression/block/ASCII/jamo at 13 Focused regression |
eeeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
62 B | |
| 009189 | regression/block/ASCII/qa at 13 Focused regression |
eeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009190 | regression/block/ASCII/marks to reorder at 13 Focused regression |
eeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009191 | regression/block/ASCII/a + circumflex + acute at 13 Focused regression |
eeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
58 B | |
| 009192 | regression/block/ASCII/precomposed at 13 Focused regression |
eeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
56 B | |
| 009193 | regression/block/ASCII/musical symbol at 13 Focused regression |
eeeeeeeeeeeee𝅗𝅥eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009194 | regression/block/ASCII/e + acute at 14 Focused regression |
eeeeeeeeeeeeeeéeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009195 | regression/block/ASCII/angstrom sign at 14 Focused regression |
eeeeeeeeeeeeeeÅeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009196 | regression/block/ASCII/jamo at 14 Focused regression |
eeeeeeeeeeeeee각eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
63 B | |
| 009197 | regression/block/ASCII/qa at 14 Focused regression |
eeeeeeeeeeeeeeक़eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
57 B | |
| 009198 | regression/block/ASCII/marks to reorder at 14 Focused regression |
eeeeeeeeeeeeeẹ́eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
58 B | |
| 009199 | regression/block/ASCII/a + circumflex + acute at 14 Focused regression |
eeeeeeeeeeeeeeấeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
|
59 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