diff options
author | Fredrik Fornwall <fredrik@fornwall.net> | 2014-07-10 12:27:56 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-07-10 12:04:48 -0400 |
commit | 958b3c5ffb6154b92fce7ecc0380e88e89893438 (patch) | |
tree | 1771cb9afabf640a271857bc380e3d68edb2f026 | |
parent | 8f17da61c56f13c3cde83b381092e5897fe621ca (diff) | |
download | rneovim-958b3c5ffb6154b92fce7ecc0380e88e89893438.tar.gz rneovim-958b3c5ffb6154b92fce7ecc0380e88e89893438.tar.bz2 rneovim-958b3c5ffb6154b92fce7ecc0380e88e89893438.zip |
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 :).
-rw-r--r-- | src/nvim/option_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option_defs.h b/src/nvim/option_defs.h index aae4fe86e6..f6b77396d2 100644 --- a/src/nvim/option_defs.h +++ b/src/nvim/option_defs.h @@ -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 */ |