Sunday, January 13, 2019

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

On Sun, Jan 13, 2019 at 6:43 PM Peng Yu <pengyu.ut@gmail.com> wrote:
>
> On Sun, Jan 13, 2019 at 10:00 AM Tony Mechelynck
> <antoine.mechelynck@gmail.com> wrote:
> >
> > On Sun, Jan 13, 2019 at 5:20 AM Peng Yu <pengyu.ut@gmail.com> wrote:
> > >
> > > I used a docker image of Ubuntu. Where I mounted my home as the home
> > > of root in the docker container.
> > >
> > > docker run -it --rm -v "$HOME":/root ubuntu
> > >
> > > In the container, I run, then I would see `.vimrc [+] ` at the bottom
> > > meaning the file has been change upon opening.
> > >
> > > apt-get update
> > > apt install vim
> > > vim ~/.vimrc
> > >
> > > I guess the problem is from the docker image. Could you help try it
> > > and see if you can reproduce the problem?
> >
> > No, I can't try it because I don't have Ubuntu.
>
> You can try docker on either Mac or Linux. Once docker is installed.
> It is just one commands (shown in my previous email).
>
> It will host a VM which is Linux.
>
> > In the Vim which I
> > compile myself on openSUSE Linux 15.0 I don't see the problem. Could
> > you check what I said in my former post?
> > - What is the answer to ":echo has('multi_byte')" (without the double
> > quotes but with the single ones)
>
> 1
>
> > - What is the answer to ":set encoding?" (without the double quotes
> > but with the question mark)
>
> encoding=latin1

This is the problematic setting. In Latin1 encoding, Vim can only
represent in its internal memory the 256 characters supported by
Latin1, and that dark triangle is not one of them. See at
https://vim.wikia.com/wiki/Working_with_Unicode (which my previous
post also mentioned) how to set up Vim so that it can handle any
Unicode codepoint.

>
> > - Is there a line "scriptencoding utf-8" (without the quotes) near the
> > top of your vimrc?
>
> That does not help.
>
> --
> 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.

--
--
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: