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
008050 unicode/part3/line 19281 NormalizationTest.txt 퓌̴ᆼ␊퓌̴ᆼ Line 19281: HANGUL SYLLABLE PWI, COMBINING TILDE OVERLAY, HANGUL JONGSEONG IEUNG. Its distinct columns, one per line. 20 B
008051 unicode/part3/line 19282 NormalizationTest.txt 햐̴ᆮ␊햐̴ᆮ Line 19282: HANGUL SYLLABLE HYA, COMBINING TILDE OVERLAY, HANGUL JONGSEONG TIKEUT. Its distinct columns, one per line. 20 B
008052 unicode/part3/line 19283 NormalizationTest.txt 헤̴ᆵ␊헤̴ᆵ Line 19283: HANGUL SYLLABLE HE, COMBINING TILDE OVERLAY, HANGUL JONGSEONG RIEUL-PHIEUPH. Its distinct columns, one per line. 20 B
008053 unicode/part3/line 19284 NormalizationTest.txt 호̴ᆼ␊호̴ᆼ Line 19284: HANGUL SYLLABLE HO, COMBINING TILDE OVERLAY, HANGUL JONGSEONG IEUNG. Its distinct columns, one per line. 20 B
008054 unicode/part3/line 19285 NormalizationTest.txt 훼̴ᆮ␊훼̴ᆮ Line 19285: HANGUL SYLLABLE HWE, COMBINING TILDE OVERLAY, HANGUL JONGSEONG TIKEUT. Its distinct columns, one per line. 20 B
008055 unicode/part3/line 19286 NormalizationTest.txt 흐̴ᆵ␊흐̴ᆵ Line 19286: HANGUL SYLLABLE HEU, COMBINING TILDE OVERLAY, HANGUL JONGSEONG RIEUL-PHIEUPH. Its distinct columns, one per line. 20 B
008056 unicode/part3/line 19287 NormalizationTest.txt 𑄱̴𑄧 Line 19287: CHAKMA O MARK, COMBINING TILDE OVERLAY, CHAKMA VOWEL SIGN A. Its distinct columns, one per line. 10 B
008057 unicode/part3/line 19288 NormalizationTest.txt 𑄲̴𑄧 Line 19288: CHAKMA AU MARK, COMBINING TILDE OVERLAY, CHAKMA VOWEL SIGN A. Its distinct columns, one per line. 10 B
008058 unicode/part3/line 19289 NormalizationTest.txt 𑍇̴𑌾 Line 19289: GRANTHA VOWEL SIGN EE, COMBINING TILDE OVERLAY, GRANTHA VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008059 unicode/part3/line 19290 NormalizationTest.txt 𑍇̴𑍗 Line 19290: GRANTHA VOWEL SIGN EE, COMBINING TILDE OVERLAY, GRANTHA AU LENGTH MARK. Its distinct columns, one per line. 10 B
008060 unicode/part3/line 19291 NormalizationTest.txt 𑎂̴𑏉 Line 19291: TULU-TIGALARI LETTER I, COMBINING TILDE OVERLAY, TULU-TIGALARI AU LENGTH MARK. Its distinct columns, one per line. 10 B
008061 unicode/part3/line 19292 NormalizationTest.txt 𑎄̴𑎻 Line 19292: TULU-TIGALARI LETTER U, COMBINING TILDE OVERLAY, TULU-TIGALARI VOWEL SIGN U. Its distinct columns, one per line. 10 B
008062 unicode/part3/line 19293 NormalizationTest.txt 𑎋̴𑏂 Line 19293: TULU-TIGALARI LETTER EE, COMBINING TILDE OVERLAY, TULU-TIGALARI VOWEL SIGN EE. Its distinct columns, one per line. 10 B
008063 unicode/part3/line 19294 NormalizationTest.txt 𑎐̴𑏉 Line 19294: TULU-TIGALARI LETTER OO, COMBINING TILDE OVERLAY, TULU-TIGALARI AU LENGTH MARK. Its distinct columns, one per line. 10 B
008064 unicode/part3/line 19295 NormalizationTest.txt 𑏂̴𑎸 Line 19295: TULU-TIGALARI VOWEL SIGN EE, COMBINING TILDE OVERLAY, TULU-TIGALARI VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008065 unicode/part3/line 19296 NormalizationTest.txt 𑏂̴𑏂 Line 19296: TULU-TIGALARI VOWEL SIGN EE, COMBINING TILDE OVERLAY, TULU-TIGALARI VOWEL SIGN EE. Its distinct columns, one per line. 10 B
008066 unicode/part3/line 19297 NormalizationTest.txt 𑏂̴𑏉 Line 19297: TULU-TIGALARI VOWEL SIGN EE, COMBINING TILDE OVERLAY, TULU-TIGALARI AU LENGTH MARK. Its distinct columns, one per line. 10 B
008067 unicode/part3/line 19298 NormalizationTest.txt 𑒹̴𑒰 Line 19298: TIRHUTA VOWEL SIGN E, COMBINING TILDE OVERLAY, TIRHUTA VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008068 unicode/part3/line 19299 NormalizationTest.txt 𑒹̴𑒺 Line 19299: TIRHUTA VOWEL SIGN E, COMBINING TILDE OVERLAY, TIRHUTA VOWEL SIGN SHORT E. Its distinct columns, one per line. 10 B
008069 unicode/part3/line 19300 NormalizationTest.txt 𑒹̴𑒽 Line 19300: TIRHUTA VOWEL SIGN E, COMBINING TILDE OVERLAY, TIRHUTA VOWEL SIGN SHORT O. Its distinct columns, one per line. 10 B
008070 unicode/part3/line 19301 NormalizationTest.txt 𑖸̴𑖯 Line 19301: SIDDHAM VOWEL SIGN E, COMBINING TILDE OVERLAY, SIDDHAM VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008071 unicode/part3/line 19302 NormalizationTest.txt 𑖹̴𑖯 Line 19302: SIDDHAM VOWEL SIGN AI, COMBINING TILDE OVERLAY, SIDDHAM VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008072 unicode/part3/line 19303 NormalizationTest.txt 𑤵̴𑤰 Line 19303: DIVES AKURU VOWEL SIGN E, COMBINING TILDE OVERLAY, DIVES AKURU VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008073 unicode/part3/line 19304 NormalizationTest.txt 𖄞̴𖄞 Line 19304: GURUNG KHEMA VOWEL SIGN AA, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN AA. Its distinct columns, one per line. 10 B
008074 unicode/part3/line 19305 NormalizationTest.txt 𖄞̴𖄟 Line 19305: GURUNG KHEMA VOWEL SIGN AA, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN I. Its distinct columns, one per line. 10 B
008075 unicode/part3/line 19306 NormalizationTest.txt 𖄞̴𖄠 Line 19306: GURUNG KHEMA VOWEL SIGN AA, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN II. Its distinct columns, one per line. 10 B
008076 unicode/part3/line 19307 NormalizationTest.txt 𖄞̴𖄩 Line 19307: GURUNG KHEMA VOWEL SIGN AA, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL LENGTH MARK. Its distinct columns, one per line. 10 B
008077 unicode/part3/line 19308 NormalizationTest.txt 𖄡̴𖄟␊𖄡̴𖄟 Line 19308: GURUNG KHEMA VOWEL SIGN U, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN I. Its distinct columns, one per line. 25 B
008078 unicode/part3/line 19309 NormalizationTest.txt 𖄡̴𖄠␊𖄡̴𖄠 Line 19309: GURUNG KHEMA VOWEL SIGN U, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN II. Its distinct columns, one per line. 25 B
008079 unicode/part3/line 19310 NormalizationTest.txt 𖄢̴𖄟␊𖄢̴𖄟 Line 19310: GURUNG KHEMA VOWEL SIGN UU, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN I. Its distinct columns, one per line. 25 B
008080 unicode/part3/line 19311 NormalizationTest.txt 𖄩̴𖄟 Line 19311: GURUNG KHEMA VOWEL LENGTH MARK, COMBINING TILDE OVERLAY, GURUNG KHEMA VOWEL SIGN I. Its distinct columns, one per line. 10 B
008081 unicode/part3/line 19312 NormalizationTest.txt 𖵣̴𖵧 Line 19312: KIRAT RAI VOWEL SIGN AA, COMBINING TILDE OVERLAY, KIRAT RAI VOWEL SIGN E. Its distinct columns, one per line. 10 B
008082 unicode/part3/line 19313 NormalizationTest.txt 𖵧̴𖵧 Line 19313: KIRAT RAI VOWEL SIGN E, COMBINING TILDE OVERLAY, KIRAT RAI VOWEL SIGN E. Its distinct columns, one per line. 10 B
008083 unicode/part3/line 19314 NormalizationTest.txt 𖵩̴𖵧␊𖵩̴𖵧 Line 19314: KIRAT RAI VOWEL SIGN O, COMBINING TILDE OVERLAY, KIRAT RAI VOWEL SIGN E. Its distinct columns, one per line. 25 B
008084 unicode/part4/line 19318 NormalizationTest.txt Ǖ␊Ǖ␊Ǖ Line 19318: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING MACRON. Its distinct columns, one per line. 13 B
008085 unicode/part4/line 19319 NormalizationTest.txt ǖ␊ǖ␊ǖ Line 19319: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING MACRON. Its distinct columns, one per line. 13 B
008086 unicode/part4/line 19320 NormalizationTest.txt Ǘ␊Ǘ␊Ǘ Line 19320: LATIN CAPITAL LETTER U, COMBINING GREEK DIALYTIKA TONOS. Its distinct columns, one per line. 12 B
008087 unicode/part4/line 19321 NormalizationTest.txt Ǘ␊Ǘ␊Ǘ Line 19321: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 13 B
008088 unicode/part4/line 19322 NormalizationTest.txt Ǘ␊Ǘ␊Ǘ Line 19322: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 13 B
008089 unicode/part4/line 19323 NormalizationTest.txt ǘ␊ǘ␊ǘ Line 19323: LATIN SMALL LETTER U, COMBINING GREEK DIALYTIKA TONOS. Its distinct columns, one per line. 12 B
008090 unicode/part4/line 19324 NormalizationTest.txt ǘ␊ǘ␊ǘ Line 19324: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 13 B
008091 unicode/part4/line 19325 NormalizationTest.txt ǘ␊ǘ␊ǘ Line 19325: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 13 B
008092 unicode/part4/line 19326 NormalizationTest.txt Ǚ␊Ǚ␊Ǚ Line 19326: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING CARON. Its distinct columns, one per line. 13 B
008093 unicode/part4/line 19327 NormalizationTest.txt ǚ␊ǚ␊ǚ Line 19327: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING CARON. Its distinct columns, one per line. 13 B
008094 unicode/part4/line 19328 NormalizationTest.txt Ǜ␊Ǜ␊Ǜ Line 19328: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 13 B
008095 unicode/part4/line 19329 NormalizationTest.txt Ǜ␊Ǜ␊Ǜ Line 19329: LATIN CAPITAL LETTER U WITH DIAERESIS, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 13 B
008096 unicode/part4/line 19330 NormalizationTest.txt ǜ␊ǜ␊ǜ Line 19330: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 13 B
008097 unicode/part4/line 19331 NormalizationTest.txt ǜ␊ǜ␊ǜ Line 19331: LATIN SMALL LETTER U WITH DIAERESIS, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 13 B
008098 unicode/part4/line 19332 NormalizationTest.txt Ǟ␊Ǟ␊Ǟ Line 19332: LATIN CAPITAL LETTER A WITH DIAERESIS, COMBINING MACRON. Its distinct columns, one per line. 13 B
008099 unicode/part4/line 19333 NormalizationTest.txt ǟ␊ǟ␊ǟ Line 19333: LATIN SMALL LETTER A WITH DIAERESIS, COMBINING MACRON. 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.