mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2912: MS-Windows: most users expect using Unicode
Problem: MS-Windows: most users expect using Unicode. Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata, closes #3907)
This commit is contained in:
@@ -4456,7 +4456,7 @@ enc_canonize(char_u *enc)
|
||||
// Use the default encoding as it's found by set_init_1().
|
||||
r = get_encoding_default();
|
||||
if (r == NULL)
|
||||
r = (char_u *)"latin1";
|
||||
r = (char_u *)ENC_DFLT;
|
||||
return vim_strsave(r);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user