Sunday, January 13, 2019

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

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

I download the vim source code and compiled it from scratch on the
ubuntu docker container. But vim still does not recognize UTF-8
characters.

Why is it so? Shouldn't vim recognize UTF-8 characters out-of-the-box?

I put the following code at the beginning of my viimrc. I don't see
the problem solved either.

if has("multi_byte")
if &termencoding == ""
let &termencoding = &encoding
endif
set encoding=utf-8
setglobal fileencoding=utf-8
"setglobal bomb
set fileencodings=ucs-bom,utf-8,latin1
endif

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