>UTF-8 is not the default &encoding. Make sure that you have
>
>    scriptencoding utf-8
>     set encoding=utf-8
>
>before any other command in your vimrc. 

I tried the above, and now I don't get the error, but I don't get the right 
result for my actual listchars, which is as follows:

set listchars=eol:¶,tab:\|,trail:•,extends:»,precedes:«,nbsp:× 

When I try :set list, the 'trail' shows up as an inverted question mark (should 
be Unicode bullet, U+2022) and the :set listchars? output lists the values in 
some format I'm not familiar with (enclosed in '<>')

> > An alternative to ZyX's suggestion of using the "scriptencoding" command to 
> > tell Vim what encoding to read the vimrc in, you could also use the 
> > codepoint value in a string to set the listchars:
> 
> let &listchars="eol:\u00B6"

This works, but only for the first setting.  I tried a few permutations using 
the '.' concatenation operator, but couldn't get it right.  What's the correct 
syntax?

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui