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:
Fredrik Fornwall 2014-07-10 12:27:56 +02:00 committed by Justin M. Keyes
parent 8f17da61c5
commit 958b3c5ffb

View File

@ -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 */