mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
Default 'encoding'-option from latin to utf-8 #935
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 :).
This commit is contained in:

committed by
Justin M. Keyes

parent
8f17da61c5
commit
958b3c5ffb
@@ -49,7 +49,7 @@
|
||||
# define ENC_UCSBOM "ucs-bom" /* check for BOM at start of file */
|
||||
|
||||
/* default value for 'encoding' */
|
||||
# define ENC_DFLT "latin1"
|
||||
# define ENC_DFLT "utf-8"
|
||||
|
||||
/* end-of-line style */
|
||||
#define EOL_UNKNOWN -1 /* not defined yet */
|
||||
|
Reference in New Issue
Block a user