forked from aniani/vim
updated for version 7.0204
This commit is contained in:
@@ -731,8 +731,13 @@ codepage_invalid:
|
||||
|
||||
/* When using Unicode, set default for 'fileencodings'. */
|
||||
if (enc_utf8 && !option_was_set((char_u *)"fencs"))
|
||||
{
|
||||
set_string_option_direct((char_u *)"fencs", -1,
|
||||
(char_u *)"ucs-bom,utf-8,default,latin1", OPT_FREE);
|
||||
# ifdef FEAT_EVAL
|
||||
set_option_scriptID((char_u *)"fencs", current_SID);
|
||||
# endif
|
||||
}
|
||||
#if defined(HAVE_BIND_TEXTDOMAIN_CODESET) && defined(FEAT_GETTEXT)
|
||||
/* GNU gettext 0.10.37 supports this feature: set the codeset used for
|
||||
* translated messages independently from the current locale. */
|
||||
|
Reference in New Issue
Block a user