Saturday, January 12, 2019

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

On Sat, Jan 12, 2019 at 10:04 AM Peng Yu <pengyu.ut@gmail.com> wrote:
>
> On Sat, Jan 12, 2019 at 7:57 AM Bram Moolenaar <Bram@moolenaar.net> wrote:
> >
> > > I got the following error when I run vim on an ubunut docker image.
> > > Does anybody know know what is wrong with the vim installation?
> > > Thanks.
> > >
> > > $ vi
> > > Error detected while processing /root/.vimrc:
> > > line 401:
> > > E474: Invalid argument: listchars=tab:?~V?\ ,eol:¬
> > > Press ENTER or type command to continue
> >
> > Looks like the two characters after tab: were corrupted.
> > Perhaps caused by conversion between encodings.
>
> The files are exactly the same on both systems. So the difference
> should be in vim. What vim compile options affect the encodings?
>
> ttys009@10:00:55@~$ grep listchars ~/.vimrc |xxd
> 00000000: 7365 7420 6c69 7374 6368 6172 733d 7461 set listchars=ta
> 00000010: 623a e296 b85c 202c 656f 6c3a c2ac 0a b:...\ ,eol:...
> ttys009@10:01:06@~$ uname
> Darwin
>
> 19a9967ba259:pts@16:01:37@~$ grep listchars ~/.vimrc |xxd
> 00000000: 7365 7420 6c69 7374 6368 6172 733d 7461 set listchars=ta
> 00000010: 623a e296 b85c 202c 656f 6c3a c2ac 0a b:...\ ,eol:...
> 19a9967ba259:pts@16:01:43@~$ uname
> Linux

It seems that the vim on ubuntu does not recognize the following
triangle character. Any reason why it is so?

- ▸

--
Regards,
Peng

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: