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

45 of 11,911 cases

Case Name Expected Note Size
000000 unicode/part0/line 44 NormalizationTest.txt Ḋ␊Ḋ Line 44: LATIN CAPITAL LETTER D WITH DOT ABOVE. Its distinct columns, one per line. 7 B
000001 unicode/part0/line 45 NormalizationTest.txt Ḍ␊Ḍ Line 45: LATIN CAPITAL LETTER D WITH DOT BELOW. Its distinct columns, one per line. 7 B
000002 unicode/part0/line 46 NormalizationTest.txt Ḍ̇␊Ḍ̇␊Ḍ̇ Line 46: LATIN CAPITAL LETTER D WITH DOT ABOVE, COMBINING DOT BELOW. Its distinct columns, one per line. 17 B
000003 unicode/part0/line 47 NormalizationTest.txt Ḍ̇␊Ḍ̇ Line 47: LATIN CAPITAL LETTER D WITH DOT BELOW, COMBINING DOT ABOVE. Its distinct columns, one per line. 11 B
000004 unicode/part0/line 48 NormalizationTest.txt Ḍ̇␊Ḍ̇␊Ḍ̇ Line 48: LATIN CAPITAL LETTER D, COMBINING DOT ABOVE, COMBINING DOT BELOW. Its distinct columns, one per line. 17 B
000005 unicode/part0/line 49 NormalizationTest.txt Ḍ̇␊Ḍ̇ Line 49: LATIN CAPITAL LETTER D, COMBINING DOT BELOW, COMBINING DOT ABOVE. Its distinct columns, one per line. 11 B
000006 unicode/part0/line 50 NormalizationTest.txt Ḋ̛␊Ḋ̛ Line 50: LATIN CAPITAL LETTER D WITH DOT ABOVE, COMBINING HORN. Its distinct columns, one per line. 11 B
000007 unicode/part0/line 51 NormalizationTest.txt Ḍ̛␊Ḍ̛ Line 51: LATIN CAPITAL LETTER D WITH DOT BELOW, COMBINING HORN. Its distinct columns, one per line. 11 B
000008 unicode/part0/line 52 NormalizationTest.txt Ḍ̛̇␊Ḍ̛̇␊Ḍ̛̇ Line 52: LATIN CAPITAL LETTER D WITH DOT ABOVE, COMBINING HORN, COMBINING DOT BELOW. Its distinct columns, one per line. 23 B
000009 unicode/part0/line 53 NormalizationTest.txt Ḍ̛̇␊Ḍ̛̇ Line 53: LATIN CAPITAL LETTER D WITH DOT BELOW, COMBINING HORN, COMBINING DOT ABOVE. Its distinct columns, one per line. 15 B
000010 unicode/part0/line 54 NormalizationTest.txt Ḍ̛̇␊Ḍ̛̇␊Ḍ̛̇ Line 54: LATIN CAPITAL LETTER D, COMBINING HORN, COMBINING DOT ABOVE, COMBINING DOT BELOW. Its distinct columns, one per line. 23 B
000011 unicode/part0/line 55 NormalizationTest.txt Ḍ̛̇␊Ḍ̛̇ Line 55: LATIN CAPITAL LETTER D, COMBINING HORN, COMBINING DOT BELOW, COMBINING DOT ABOVE. Its distinct columns, one per line. 15 B
000012 unicode/part0/line 56 NormalizationTest.txt È␊È Line 56: LATIN CAPITAL LETTER E WITH GRAVE. Its distinct columns, one per line. 6 B
000013 unicode/part0/line 57 NormalizationTest.txt Ē␊Ē Line 57: LATIN CAPITAL LETTER E WITH MACRON. Its distinct columns, one per line. 6 B
000014 unicode/part0/line 58 NormalizationTest.txt È␊È Line 58: LATIN CAPITAL LETTER E, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 6 B
000015 unicode/part0/line 59 NormalizationTest.txt Ē␊Ē Line 59: LATIN CAPITAL LETTER E, COMBINING MACRON. Its distinct columns, one per line. 6 B
000016 unicode/part0/line 60 NormalizationTest.txt Ḕ␊Ḕ Line 60: LATIN CAPITAL LETTER E WITH MACRON AND GRAVE. Its distinct columns, one per line. 9 B
000017 unicode/part0/line 61 NormalizationTest.txt Ḕ␊Ḕ␊Ḕ Line 61: LATIN CAPITAL LETTER E WITH MACRON, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
000018 unicode/part0/line 62 NormalizationTest.txt Ḕ̄␊Ḕ̄ Line 62: LATIN CAPITAL LETTER E WITH MACRON AND GRAVE, COMBINING MACRON. Its distinct columns, one per line. 13 B
000019 unicode/part0/line 63 NormalizationTest.txt Ḕ␊Ḕ Line 63: LATIN CAPITAL LETTER E, COMBINING MACRON, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 9 B
000020 unicode/part0/line 64 NormalizationTest.txt È̄␊È̄ Line 64: LATIN CAPITAL LETTER E, COMBINING GRAVE ACCENT, COMBINING MACRON. Its distinct columns, one per line. 10 B
000021 unicode/part0/line 65 NormalizationTest.txt ֱָֹ֑׃ְ֬֟␊ֱָֹ֑׃ְ֬֟ Line 65: HEBREW POINT QAMATS, HEBREW POINT HOLAM, HEBREW POINT HATAF SEGOL, HEBREW ACCENT ETNAHTA, HEBREW PUNCTUATION SOF PASUQ, HEBREW POINT SHEVA, HEBREW ACCENT ILUY, HEBREW ACCENT QARNEY PARA. Its distinct columns, one per line. 33 B
000022 unicode/part0/line 66 NormalizationTest.txt ְַּ֥֒׀֭ׄ␊ְַּ֥֒׀֭ׄ Line 66: HEBREW ACCENT SEGOL, HEBREW POINT PATAH, HEBREW POINT DAGESH OR MAPIQ, HEBREW ACCENT MERKHA, HEBREW POINT SHEVA, HEBREW PUNCTUATION PASEQ, HEBREW MARK UPPER DOT, HEBREW ACCENT DEHI. Its distinct columns, one per line. 33 B
000023 unicode/part0/line 67 NormalizationTest.txt ᄀ각␊ᄀ각␊ᄀ각 Line 67: HANGUL CHOSEONG KIYEOK, HANGUL SYLLABLE GA, HANGUL JONGSEONG KIYEOK. Its distinct columns, one per line. 29 B
000024 unicode/part0/line 68 NormalizationTest.txt ᄀ각ᆨ␊ᄀ각ᆨ␊ᄀ각ᆨ Line 68: HANGUL CHOSEONG KIYEOK, HANGUL SYLLABLE GA, HANGUL JONGSEONG KIYEOK, HANGUL JONGSEONG KIYEOK. Its distinct columns, one per line. 38 B
000025 unicode/part0/line 69 NormalizationTest.txt DẒ̌␊DẒ̌␊DẒ̌ Line 69: LATIN CAPITAL LETTER DZ WITH CARON, COMBINING DOT BELOW. Its distinct columns, one per line. 18 B
000026 unicode/part0/line 70 NormalizationTest.txt Dẓ̌␊Dẓ̌␊Dẓ̌ Line 70: LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON, COMBINING DOT BELOW. Its distinct columns, one per line. 18 B
000027 unicode/part0/line 71 NormalizationTest.txt dẓ̌␊dẓ̌␊dẓ̌ Line 71: LATIN SMALL LETTER DZ WITH CARON, COMBINING DOT BELOW. Its distinct columns, one per line. 18 B
000028 unicode/part0/line 72 NormalizationTest.txt ෝ̴␊ෝ̴ Line 72: SINHALA VOWEL SIGN KOMBUVA HAA DIGA AELA-PILLA, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 17 B
000029 unicode/part0/line 73 NormalizationTest.txt ㌄̴␊イニング̴␊イニング̴ Line 73: SQUARE ININGU, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 38 B
000030 unicode/part0/line 74 NormalizationTest.txt ㌇̴␊エスクード̴␊エスクード̴ Line 74: SQUARE ESUKUUDO, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 44 B
000031 unicode/part0/line 75 NormalizationTest.txt ㌐̴␊ギガ̴␊ギガ̴ Line 75: SQUARE GIGA, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 29 B
000032 unicode/part0/line 76 NormalizationTest.txt ㌞̴␊コーポ̴␊コーポ̴ Line 76: SQUARE KOOPO, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 32 B
000033 unicode/part0/line 77 NormalizationTest.txt ㌡̴␊シリング̴␊シリング̴ Line 77: SQUARE SIRINGU, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 38 B
000034 unicode/part0/line 78 NormalizationTest.txt ㌲̴␊ファラッド̴␊ファラッド̴ Line 78: SQUARE HUARADDO, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 44 B
000035 unicode/part0/line 79 NormalizationTest.txt ㌻̴␊ページ̴␊ページ̴ Line 79: SQUARE PEEZI, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 35 B
000036 unicode/part0/line 80 NormalizationTest.txt ㍀̴␊ポンド̴␊ポンド̴ Line 80: SQUARE PONDO, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 35 B
000037 unicode/part0/line 81 NormalizationTest.txt ㍋̴␊メガ̴␊メガ̴ Line 81: SQUARE MEGA, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 26 B
000038 unicode/part0/line 82 NormalizationTest.txt ㍎̴␊ヤード̴␊ヤード̴ Line 82: SQUARE YAADO, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 32 B
000039 unicode/part0/line 83 NormalizationTest.txt ﻵٖ␊لآٖ␊لآٖ Line 83: ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE ISOLATED FORM, ARABIC SUBSCRIPT ALEF. Its distinct columns, one per line. 21 B
000040 unicode/part0/line 84 NormalizationTest.txt ﻶٖ␊لآٖ␊لآٖ Line 84: ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE FINAL FORM, ARABIC SUBSCRIPT ALEF. Its distinct columns, one per line. 21 B
000041 unicode/part0/line 85 NormalizationTest.txt ﻷٖ␊لأٖ␊لأٖ Line 85: ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE ISOLATED FORM, ARABIC SUBSCRIPT ALEF. Its distinct columns, one per line. 21 B
000042 unicode/part0/line 86 NormalizationTest.txt ﻸٖ␊لأٖ␊لأٖ Line 86: ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE FINAL FORM, ARABIC SUBSCRIPT ALEF. Its distinct columns, one per line. 21 B
000043 unicode/part0/line 87 NormalizationTest.txt ﻹ̴␊لإ̴␊لإ̴ Line 87: ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW ISOLATED FORM, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 21 B
000044 unicode/part0/line 88 NormalizationTest.txt ﻺ̴␊لإ̴␊لإ̴ Line 88: ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW FINAL FORM, COMBINING TILDE OVERLAY. Its distinct columns, one per line. 21 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.