... Does this patch help? ... *************** ... } else if (*p == DLG_HOTKEY_CHAR) *p = '_'; + #ifdef FEAT_MBYTE + if (has_mbyte) + p +=...
912
Kentaro Nakazawa
kentaro@...
May 1, 2003 4:40 pm
The patch was updated. Now, it is thought that this problem was solved. -- Kentaro Nakazawa <kentaro@...> Index: gui_gtk.c ...
913
Bram Moolenaar
Bram@...
May 1, 2003 5:30 pm
... I can't check this with Japanese, but it looks OK to me. I'll include the patch. Thanks! -- In a world without fences, who needs Gates and Windows? ///...
914
Valery Kondakoff
strauss@...
May 5, 2003 3:57 pm
Hello, vim-developers! It seems, currently it is impossible to edit files with native characters in their names, when GVIM enoding is set to UTF-8. (WinXP, ...
915
Bram Moolenaar
Bram@...
May 5, 2003 7:11 pm
... Hmm, does this mean we need to convert between wide characters and utf-8 for all the functions that use file names? I thought this already worked, since I...
916
Ron Aaron
ronaaron@...
May 5, 2003 7:40 pm
... I just verified this on XP. If you drag such a file to vim, it comes up as ???? instead of the file name. If you do :e and try tab-completion, the file...
917
Bram Moolenaar
Bram@...
May 5, 2003 8:05 pm
... I suppose this means that filenames are in the "active codepage" encoding. We should convert them to 'encoding39; to be able to display them properly....
918
Tony Mechelynck
antoine.mechelynck@...
May 5, 2003 10:17 pm
... There ought to be something better, but just as a makeshift temporary solution, which I believe could be automated by means of a .BAT file (the actual...
919
Valery Kondakoff
strauss@...
May 7, 2003 6:41 pm
Hello, vim-developers! ... I'm not sure this patch was supposed to fix this, but it is still impossible to print Russian text when 'encoding39; is set to...
920
Glenn Maynard
glenn@...
May 7, 2003 6:45 pm
... UTF-8 isn't an 8-bit (SBCS) encoding, it's a multibyte encoding (MBCS). (I wonder a little about why UTF-8 doesn't work, but as I never print I don't have...
921
Tony Mechelynck
antoine.mechelynck@...
May 7, 2003 7:27 pm
... UTF-8 is in fact a variable encoding. Vim treats it as multibyte; in fact, characters 0-127 are printed as one byte in 7-bit ASCII, the others require ...
922
Glenn Maynard
glenn@...
May 7, 2003 7:41 pm
... A multibyte encoding *is* an encoding that uses a variable number of bytes per character. UTF-8 is a multibyte encoding, and Vim treats it as such. (I've...
923
Bram Moolenaar
Bram@...
May 7, 2003 8:03 pm
... Please read the docs on this: ":help 'printencoding'" and everything below ":help :hardcopy". -- I noticed my daughter's Disney-net password on a sticky...
924
Tony Mechelynck
antoine.mechelynck@...
May 7, 2003 8:25 pm
Oops... sorry I hit "send" the first time without composing an answer ... The distinction I make (probably unnecessarily, I agree on that) is that there are...
925
Glenn Maynard
glenn@...
May 7, 2003 8:48 pm
... MBCS specifically doesn't refer to encodings like UTF-32. Encodings which use a fixed multiple number of bytes per codepoint[1] are wide strings. C makes...
926
Tony Mechelynck
antoine.mechelynck@...
May 7, 2003 9:18 pm
Glenn Maynard <glenn@...> wrote: [...] ... I stand corrected. Tony....
927
Bram Moolenaar
Bram@...
May 8, 2003 12:29 am
I will be attending the O'Reilly Open Source Convention. This is a big conference with up to 15 parallel tracks. The convention is taking place in Portland,...
928
Tony Mechelynck
antoine.mechelynck@...
May 8, 2003 12:39 am
... 'printencoding' seems quite new. New in 6.2 maybe? (I don't see it in the helpfiles that came with 6.1.469, and the corresponding executable spits error at...
929
Valery Kondakoff
strauss@...
May 13, 2003 12:47 pm
Hello, vim-developers! It seems setting encoding to utf-8 breaks Gvim character counting. (Gvim 6.2c, WinXP Pro). There is an example: I created simple text ...
930
Bram Moolenaar
Bram@...
May 18, 2003 7:14 pm
Announcing: Vim (Vi IMproved) version 6.2e BETA Author: Bram Moolenaar et al. Announcement ... This is a test version of Vim. Since Vim 6.1 many reported...
931
Nam SungHyun
namsh@...
May 21, 2003 3:09 am
Hello, If there already exists swap file, gvim killed by SEGV. Because I use UTF-8, mb_ptr2len_check is utfc_ptr2len_check. And it returns 0 because '*p' is...
932
Bram Moolenaar
Bram@...
May 21, 2003 9:15 am
... I am very glad you tracked down this problem. So far I could not reproduce this crash, but after setting 'encoding39; to "utf-8" I can. Another solution is...
933
Bram Moolenaar
Bram@...
May 23, 2003 6:49 pm
Finally you can join your favorite drink with your favorite editor: It's the Vim reference mug! Besides the Vim logo there are a dozens of Vim commands...
934
Bram Moolenaar
Bram@...
May 25, 2003 8:15 pm
Announcing: Vim (Vi IMproved) version 6.2f BETA Author: Bram Moolenaar et al. Announcement ... This is a test version of Vim. Since Vim 6.1 many reported...
935
Valery Kondakoff
strauss@...
May 27, 2003 1:49 pm
Hello, VIM-developers! Excuse me for bothering you again, but 'wrong character count when using utf-8' issue is still reproducible in all the latest Gvim ...
936
Bram Moolenaar
Bram@...
May 27, 2003 2:55 pm
... As far as I can see there is no problem, it works as intended. ... 434 is the byte count of the original file, 441 is the byte count after conversion. In...
937
Valery Kondakoff
strauss@...
May 28, 2003 2:09 pm
Hello, Bram! ... BM> The byte count changes. Using "chars" in the file message is an old Vi BM> habit. Look at this as the C language "char", which is...
938
jmaiorana@...
May 28, 2003 6:43 pm
... You could iterate over the line and only count bytes which are not continuing characters, which are those between 0x80 and 0xBF inclusive. perhaps a...
939
Bram Moolenaar
Bram@...
May 28, 2003 9:21 pm
... Hmm, there are several methods, but I suppose the good old ":s" method ... This ignores composing characters. You can also use virtcol(), although it gets...
940
Valery Kondakoff
strauss@...
May 29, 2003 1:10 pm
Hello, Bram! Thursday, May 29, 2003, you wrote to me: BM> If you want a function you could use something like: BM> strlen(substitute(getline(".")),...