Vim-Version 800, Fri 27 Jan 2017 14:08:33 CET ════════════════════════════════════════════════════ abc ─────┬────┬──────────┬────┬────────────────── Ind.│Byte│codepoint │Vcol│ grapheme cluster ─────┼────┼──────────┼────┼────────────────── 00 │ 61 │ U+000061 │ 01 │ a ─────┼────┼──────────┼────┼────────────────── 01 │ 62 │ U+000062 │ 02 │ b ─────┼────┼──────────┼────┼────────────────── 02 │ 63 │ U+000063 │ 03 │ c ─────┴────┴──────────┴────┴────────────────── vcol(Ind= 0)=virtcol([, 1])= 1; expected= 1 ✓ vcol(Ind= 1)=virtcol([, 2])= 2; expected= 2 ✓ vcol(Ind= 2)=virtcol([, 3])= 3; expected= 3 ✓ vcol(Ind= 3)=virtcol([, 4])= 4; expected= 4 ✓ vcol(Ind= 4)=virtcol([, 5])= 0; expected= 0 ✓ ════════════════════════════════════════════════════ ════════════════════════════════════════════════════ aâ ─────┬────┬──────────┬────┬────────────────── Ind.│Byte│codepoint │Vcol│ grapheme cluster ─────┼────┼──────────┼────┼────────────────── 00 │ 61 │ U+000061 │ 01 │ a ─────┼────┼──────────┼────┼────────────────── 01 │ 61 │ U+000061 │ 02 │ â 02 │ cc │ U+000302 │ │ 03 │ 82 │ │ │ ─────┴────┴──────────┴────┴────────────────── vcol(Ind= 0)=virtcol([, 1])= 1; expected= 1 ✓ vcol(Ind= 1)=virtcol([, 2])= 2; expected= 2 ✓ vcol(Ind= 2)=virtcol([, 3])= 3; expected= 2 ⁇ vcol(Ind= 3)=virtcol([, 4])= 3; expected= 2 ⁇ vcol(Ind= 4)=virtcol([, 5])= 3; expected= 3 ✓ vcol(Ind= 5)=virtcol([, 6])= 0; expected= 0 ✓ ════════════════════════════════════════════════════ ════════════════════════════════════════════════════ â ─────┬────┬──────────┬────┬────────────────── Ind.│Byte│codepoint │Vcol│ grapheme cluster ─────┼────┼──────────┼────┼────────────────── 00 │ 61 │ U+000061 │ 01 │ â 01 │ cc │ U+000302 │ │ 02 │ 82 │ │ │ ─────┴────┴──────────┴────┴────────────────── vcol(Ind= 0)=virtcol([, 1])= 1; expected= 1 ✓ vcol(Ind= 1)=virtcol([, 2])= 2; expected= 1 ⁇ vcol(Ind= 2)=virtcol([, 3])= 2; expected= 1 ⁇ vcol(Ind= 3)=virtcol([, 4])= 2; expected= 2 ✓ vcol(Ind= 4)=virtcol([, 5])= 0; expected= 0 ✓ ════════════════════════════════════════════════════ ════════════════════════════════════════════════════ ─ ─────┬────┬──────────┬────┬────────────────── Ind.│Byte│codepoint │Vcol│ grapheme cluster ─────┼────┼──────────┼────┼────────────────── 00 │ e2 │ U+002500 │ 01 │ ─ 01 │ 94 │ │ │ 02 │ 80 │ │ │ ─────┴────┴──────────┴────┴────────────────── vcol(Ind= 0)=virtcol([, 1])= 1; expected= 1 ✓ vcol(Ind= 1)=virtcol([, 2])= 2; expected= 1 ⁇ vcol(Ind= 2)=virtcol([, 3])= 2; expected= 1 ⁇ vcol(Ind= 3)=virtcol([, 4])= 2; expected= 2 ✓ vcol(Ind= 4)=virtcol([, 5])= 0; expected= 0 ✓ ════════════════════════════════════════════════════ ════════════════════════════════════════════════════ 😀a ─────┬────┬──────────┬────┬────────────────── Ind.│Byte│codepoint │Vcol│ grapheme cluster ─────┼────┼──────────┼────┼────────────────── 00 │ f0 │ U+01f600 │ 01 │ 😀 01 │ 9f │ │ │ 02 │ 98 │ │ │ 03 │ 80 │ │ │ ─────┼────┼──────────┼────┼────────────────── 04 │ 61 │ U+000061 │ 03 │ a ─────┴────┴──────────┴────┴────────────────── vcol(Ind= 0)=virtcol([, 1])= 2; expected= 2 ✓ vcol(Ind= 1)=virtcol([, 2])= 3; expected= 2 ⁇ vcol(Ind= 2)=virtcol([, 3])= 3; expected= 2 ⁇ vcol(Ind= 3)=virtcol([, 4])= 3; expected= 2 ⁇ vcol(Ind= 4)=virtcol([, 5])= 3; expected= 3 ✓ vcol(Ind= 5)=virtcol([, 6])= 4; expected= 4 ✓ vcol(Ind= 6)=virtcol([, 7])= 0; expected= 0 ✓ ════════════════════════════════════════════════════ ════════════════════════════════════════════════════ a😀 ─────┬────┬──────────┬────┬────────────────── Ind.│Byte│codepoint │Vcol│ grapheme cluster ─────┼────┼──────────┼────┼────────────────── 00 │ 61 │ U+000061 │ 01 │ a ─────┼────┼──────────┼────┼────────────────── 01 │ f0 │ U+01f600 │ 02 │ 😀 02 │ 9f │ │ │ 03 │ 98 │ │ │ 04 │ 80 │ │ │ ─────┴────┴──────────┴────┴────────────────── vcol(Ind= 0)=virtcol([, 1])= 1; expected= 1 ✓ vcol(Ind= 1)=virtcol([, 2])= 3; expected= 3 ✓ vcol(Ind= 2)=virtcol([, 3])= 4; expected= 3 ⁇ vcol(Ind= 3)=virtcol([, 4])= 4; expected= 3 ⁇ vcol(Ind= 4)=virtcol([, 5])= 4; expected= 3 ⁇ vcol(Ind= 5)=virtcol([, 6])= 4; expected= 4 ✓ vcol(Ind= 6)=virtcol([, 7])= 0; expected= 0 ✓ ════════════════════════════════════════════════════ ════════════════════════════════════════════════════ â̲😀 ─────┬────┬──────────┬────┬────────────────── Ind.│Byte│codepoint │Vcol│ grapheme cluster ─────┼────┼──────────┼────┼────────────────── 00 │ 61 │ U+000061 │ 01 │ â̲ 01 │ cc │ U+000302 │ │ 02 │ 82 │ │ │ 03 │ cc │ U+000332 │ │ 04 │ b2 │ │ │ ─────┼────┼──────────┼────┼────────────────── 05 │ f0 │ U+01f600 │ 02 │ 😀 06 │ 9f │ │ │ 07 │ 98 │ │ │ 08 │ 80 │ │ │ ─────┴────┴──────────┴────┴────────────────── vcol(Ind= 0)=virtcol([, 1])= 1; expected= 1 ✓ vcol(Ind= 1)=virtcol([, 2])= 2; expected= 1 ⁇ vcol(Ind= 2)=virtcol([, 3])= 2; expected= 1 ⁇ vcol(Ind= 3)=virtcol([, 4])= 2; expected= 1 ⁇ vcol(Ind= 4)=virtcol([, 5])= 2; expected= 1 ⁇ vcol(Ind= 5)=virtcol([, 6])= 3; expected= 3 ✓ vcol(Ind= 6)=virtcol([, 7])= 4; expected= 3 ⁇ vcol(Ind= 7)=virtcol([, 8])= 4; expected= 3 ⁇ vcol(Ind= 8)=virtcol([, 9])= 4; expected= 3 ⁇ vcol(Ind= 9)=virtcol([,10])= 4; expected= 4 ✓ vcol(Ind=10)=virtcol([,11])= 0; expected= 0 ✓ ════════════════════════════════════════════════════ ════════════════════════════════════════════════════ 😀â̲ ─────┬────┬──────────┬────┬────────────────── Ind.│Byte│codepoint │Vcol│ grapheme cluster ─────┼────┼──────────┼────┼────────────────── 00 │ f0 │ U+01f600 │ 01 │ 😀 01 │ 9f │ │ │ 02 │ 98 │ │ │ 03 │ 80 │ │ │ ─────┼────┼──────────┼────┼────────────────── 04 │ 61 │ U+000061 │ 03 │ â̲ 05 │ cc │ U+000302 │ │ 06 │ 82 │ │ │ 07 │ cc │ U+000332 │ │ 08 │ b2 │ │ │ ─────┴────┴──────────┴────┴────────────────── vcol(Ind= 0)=virtcol([, 1])= 2; expected= 2 ✓ vcol(Ind= 1)=virtcol([, 2])= 3; expected= 2 ⁇ vcol(Ind= 2)=virtcol([, 3])= 3; expected= 2 ⁇ vcol(Ind= 3)=virtcol([, 4])= 3; expected= 2 ⁇ vcol(Ind= 4)=virtcol([, 5])= 3; expected= 3 ✓ vcol(Ind= 5)=virtcol([, 6])= 4; expected= 3 ⁇ vcol(Ind= 6)=virtcol([, 7])= 4; expected= 3 ⁇ vcol(Ind= 7)=virtcol([, 8])= 4; expected= 3 ⁇ vcol(Ind= 8)=virtcol([, 9])= 4; expected= 3 ⁇ vcol(Ind= 9)=virtcol([,10])= 4; expected= 4 ✓ vcol(Ind=10)=virtcol([,11])= 0; expected= 0 ✓ ════════════════════════════════════════════════════