Saturday, January 12, 2019

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

I see two possible reasons to this error.

Possibility 1: your Vim does not support multi-byte encodings such as
UTF-8. In that case, the output of ":version" will include -multi_byte
and the answer to ":echo has('multi_byte')" (with the single quotes
but without the double ones) will be 0. If this is the case, the only
solution is to use a more powerful Vim.

Possibility 2: even if Vim was built with +multi_byte, it might not
realize that your vimrc is in UTF-8. In that case, you should add, at
the very top of your vimrc (and in any case before the first line
containing a character with a Unicode codepoint higher than U+007F)
the line

scriptencoding utf-8

See :help :scriptencoding

You might also want to make sure that Vim uses UTF-8 internally at
runtime, and not some 'encoding' incompatible with the characters
you're trying to use.

See https://vim.wikia.com/wiki/Working_with_Unicode


Best regards,
Tony.

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