4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
10 Patch 6.2.446 (after 6.2.404)
11 Problem: Using library functions wcwidth() and iswprint() results in
12 display problems for Hebrew characters. (Ron Aaron)
13 Solution: Disable the code to use the library functions, use our own.
17 *** ../vim-6.2.445/src/mbyte.c Fri Apr 2 11:36:09 2004
18 --- src/mbyte.c Sun Apr 4 16:28:21 2004
26 + /* This has been disabled, because several people reported problems with the
27 + * wcwidth() and iswprint() library functions, esp. for Hebrew. */
28 + # ifdef __STDC_ISO_10646__
29 + # define USE_WCHAR_FUNCTIONS
33 #if defined(FEAT_MBYTE) || defined(PROTO)
35 static int enc_canon_search __ARGS((char_u *name));
41 ! #ifdef __STDC_ISO_10646__
43 * Assume the library function wcwidth() works better than our own
44 * stuff. It should return 1 for ambiguous width chars!
49 ! #ifdef USE_WCHAR_FUNCTIONS
51 * Assume the library function wcwidth() works better than our own
52 * stuff. It should return 1 for ambiguous width chars!
58 ! #ifdef __STDC_ISO_10646__
60 * Assume the iswprint() library function works better than our own stuff.
66 ! #ifdef USE_WCHAR_FUNCTIONS
68 * Assume the iswprint() library function works better than our own stuff.
70 *** ../vim-6.2.445/src/version.c Sun Apr 4 16:20:34 2004
71 --- src/version.c Sun Apr 4 16:27:31 2004
75 { /* Add new patch number below this line */
81 Two fish in a tank. One says to the other:
82 "Do you know how to drive this thing?"
84 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
85 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
86 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
87 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///