Re: if \xe4==\xe4 failes,why?

2006-12-01 Thread Charles E Campbell Jr
mbbill wrote: I met a very strange problem recently, that is when I set the following options: set encoding=utf-8 set ignorecase then the expression: if \xe4==\xe4 fails. I test it using: if \xe4==\xe4 echo test endif but I got nothing output, why ? Try set encoding=utf-8 if \xe4 ==

Re: if \xe4==\xe4 failes,why?

2006-12-01 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: mbbill wrote: I met a very strange problem recently, that is when I set the following options: set encoding=utf-8 set ignorecase then the expression: if \xe4==\xe4 fails. I test it using: if \xe4==\xe4 echo test endif but I got nothing output, why ? Try

Re: if \xe4==\xe4 failes,why?

2006-12-01 Thread Charles E Campbell Jr
A.J.Mechelynck wrote: Charles E Campbell Jr wrote: mbbill wrote: I met a very strange problem recently, that is when I set the following options: set encoding=utf-8 set ignorecase then the expression: if \xe4==\xe4 fails. I test it using: if \xe4==\xe4 echo test endif but I got nothing

Re: if \xe4==\xe4 failes,why?

2006-12-01 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: A.J.Mechelynck wrote: [...] It's not as simple as that, Dr. Chip: I get 0 (zero) as reply to :echo (\xe4 == \xe4) when 'encoding' is UTF-8. However, the byte 0xE4 by itself is not a valid character in UTF-8. I also get 1 (one) in reply to :echo (รค ==

Re: if \xe4==\xe4 failes,why?

2006-11-30 Thread A.J.Mechelynck
mbbill wrote: [...] Some minutes before,when I test the bug somewhere else, after I set ignorecase and encoding to utf-8 ,nothing went wrong. The result of the expression echo (\xe4==\xe4) was 1 Before that,I have deleted all temp files and config files then reinstalled the VIM, and I did

Re: if \xe4==\xe4 failes,why?

2006-11-29 Thread A.J.Mechelynck
mbbill wrote: I met a very strange problem recently, that is when I set the following options: set encoding=utf-8 set ignorecase then the expression: if \xe4==\xe4 fails. I test it using: if \xe4==\xe4 echo test endif but I got nothing output, why ? I confirm this: :echo (\xe4

Re: if \xe4==\xe4 failes,why?

2006-11-29 Thread A.J.Mechelynck
A.J.Mechelynck wrote: mbbill wrote: I met a very strange problem recently, that is when I set the following options: set encoding=utf-8 set ignorecase then the expression: if \xe4==\xe4 fails. I test it using: if \xe4==\xe4 echo test endif but I got nothing output, why ? I confirm this:

Re: if \xe4==\xe4 failes,why?

2006-11-29 Thread mbbill
Hello A.J.Mechelynck, Thursday, November 30, 2006, 1:15:14 PM, you wrote: ?A.J.Mechelynck wrote: ?mbbill wrote: ?I met a very strange problem recently, that is ?when I set the following options: ?set encoding=utf-8 ?set ignorecase ?then the expression: if \xe4==\xe4 fails. ?I test it using: ?if

Re: if \xe4==\xe4 failes,why?

2006-11-29 Thread A.J.Mechelynck
mbbill wrote: Hello A.J.Mechelynck, Thursday, November 30, 2006, 1:15:14 PM, you wrote: ?A.J.Mechelynck wrote: ?mbbill wrote: ?I met a very strange problem recently, that is ?when I set the following options: ?set encoding=utf-8 ?set ignorecase ?then the expression: if \xe4==\xe4 fails. ?I