Problems with vim/locale as non-root user on Solaris
- by Lyle
I do some work on a Solaris 10 machine, and my .vimrc is set up to show unicode characters for tabs and line endings:
set listchars=tab:?\ ,eol:¬
This works out of the box on my OS X machine. On Linux as well as Solaris I get the following error when I start vim:
Error detected while processing /home/lhanson/.vimrc:
line 17:
E474: Invalid argument: listchars=tab:?~V?\ ,eol:¬
I solved this on my Linux box by setting LANG=en_US.utf8 ('locale -a' shows this as being an option).
On Solaris, however, 'locale -a' shows the following:
C
POSIX
iso_8859_1
Setting LANG to C or POSIX yields the same error, and even though iso_8859_1 probably wouldn't work it doesn't successfully change the locale anyway.
As a non-root user, is there any way I can have my unicode characters show up?