Mercurial > vim
diff runtime/doc/options.txt @ 24747:7da496081b91 v8.2.2912
patch 8.2.2912: MS-Windows: most users expect using Unicode
Commit: https://github.com/vim/vim/commit/f883d9027c750967b115b82de984ee449ab17aa8
Author: K.Takata <kentkt@csc.jp>
Date: Sun May 30 18:04:19 2021 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 30 May 2021 18:15:03 +0200 |
parents | 840665e74421 |
children | e69e7133c9cf |
line wrap: on
line diff
--- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -2828,7 +2828,8 @@ A jump table for the options with a shor |setcellwidths()| function to change the behavior. *'encoding'* *'enc'* *E543* -'encoding' 'enc' string (default: "latin1" or value from $LANG) +'encoding' 'enc' string (default for MS-Windows: "utf-8", + otherwise: value from $LANG or "latin1") global Sets the character encoding used inside Vim. It applies to text in the buffers, registers, Strings in expressions, text stored in the