New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neovim trips on UTF-8 characters #1858
Comments
That's default, so shouldn't be needed (unless your locale set by
Are your error messages similar to that? And can you verify that |
Yes, I'm also using vim-gitgutter, and one of the errors is exactly this one. It seems the following lines somehow dissapeared from my export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8 Neovim worked before with UTF-8 without these settings, but that was probably an unintended "feature", which got rightfully removed. |
在声明listchars使用了非utf8字符,在非utf8环境下启动vim会出错:Invalid argument: listchars 解决方案如下: 1. 在vimrc中添加(http://stackoverflow.com/questions/18321538/vim-error-e474-invalid-argument-listchars-tab-trail): scriptencoding utf-8 2. 在.bash_profile中添加(neovim/neovim#1858): export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 目前使用第一种解决方案,因为不会污染系统环境
@janko-m |
I installed the latest master of Neovim. However, I have some UTF-8 characters in my .vimrc, and also when I open a file with UTF-8 characters, Neovim throws an error for each UTF-8 character it finds (each error message is different, because they appear in different contexts, so I can't pull out a specific one). I have a
:set encoding=utf-8
in my .vimrc, and Neovim was working fine before, there was just some change meanwhile that trips it up now.The text was updated successfully, but these errors were encountered: