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
[RFC] Default 'encoding'-option from latin to utf-8 #935
Conversation
Normally the default encoding does not have much effect, since it's overridden by the environment. But when it's not (test with "LANG= LC_ALL= C_CTYPE= nvim" and perform ":set encoding?"), utf-8 should be the default encoding for a 21st century editor :).
Is it really necessary that Neovim supports |
As a default, |
There's a remote possibility that this could affect plugins. But this note from
On the other hand, changing the defaults isn't really a priority until we get near a release, because all of our current users are veteran Vim users who already set the encoding in their vimrc.
@atwupack Removing support for latin1 is a non-trivial change (search for "latin1" in the source). And it is still useful to be able to convert files to latin1 using [n]vim. |
Yes, but I don't think there is any value in waiting with changing default settings to make nvim usable out of the box - the sooner they get made the better, so to close in on a usable release and have time to work out any eventual problem from switching the default values. |
@justinmk To have |
I know that some plugins use I do not think that changing default to |
Of course, good point. 👍 LGTM |
Exactly right. LGTM too. |
Normally the default encoding does not have much effect, since it's overridden by the environment. But when it's not (test with "LANG= LC_ALL= C_CTYPE= nvim" and perform ":set encoding?"), utf-8 should be the default encoding for a 21st century editor :).
merged |
Normally the default encoding does not have much effect, since it's overridden by the environment. But when it's not (test with "LANG= LC_ALL= C_CTYPE= nvim" and perform ":set encoding?"), utf-8 should be the default encoding for a 21st century editor :).
Fix "Invalid buffer id" with highlights after bwipe
Normally the default encoding does not have much effect, since it's
overridden by the environment.
But when it's not (test with "LANG= LC_ALL= C_CTYPE= nvim" and perform
":set encoding?"), utf-8 should be the default encoding for a 21st
century editor :).