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" == "\xe4"
redraw!
echo "equal!"
else
redraw!
echo "not equal"
endif


Looks like your message is doing an unwanted disappearing act.

Regards,
Chip Campbell

Reply via email to