4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: ":registers" doesn't show multi-byte characters properly.
13 Solution: Get the length of each character before displaying it.
17 *** ../vim-6.3.045/src/ops.c Fri Jul 9 22:21:01 2004
18 --- src/ops.c Sat Dec 11 16:11:42 2004
24 char_u *arg = eap->arg;
31 if (arg != NULL && *arg == NUL)
36 for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; ++p)
38 - msg_outtrans_len(p, 1);
41 ! p += (*mb_ptr2len_check)(p) - 1;
47 for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; ++p)
50 ! clen = (*mb_ptr2len_check)(p);
52 ! msg_outtrans_len(p, clen);
58 *** ../vim-6.3.045/src/version.c Thu Dec 9 16:41:39 2004
59 --- src/version.c Sat Dec 11 16:12:58 2004
63 { /* Add new patch number below this line */
69 This planet has -- or rather had -- a problem, which was this: most
70 of the people living on it were unhappy for pretty much of the time.
71 Many solutions were suggested for this problem, but most of these
72 were largely concerned with the movements of small green pieces of
73 paper, which is odd because on the whole it wasn't the small green
74 pieces of paper that were unhappy.
75 -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
77 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
78 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
79 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
80 \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///