mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
encoding: Always use "utf-8" as default for &encoding
Preverve the locale-depedency for fileencodings=default
This commit is contained in:
@@ -798,6 +798,8 @@ EXTERN bool enc_utf8 INIT(= false); /* UTF-8 encoded Unicode */
|
||||
EXTERN int enc_latin1like INIT(= TRUE); /* 'encoding' is latin1 comp. */
|
||||
EXTERN int has_mbyte INIT(= 0); /* any multi-byte encoding */
|
||||
|
||||
/// Encoding used when 'fencs' is set to "default"
|
||||
EXTERN char_u *fenc_default INIT(= NULL);
|
||||
|
||||
/*
|
||||
* To speed up BYTELEN() we fill a table with the byte lengths whenever
|
||||
|
Reference in New Issue
Block a user