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 ==
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
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
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 (รค ==
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
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
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:
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
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