summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorK.Takata <kentkt@csc.jp>2021-05-30 18:04:19 +0200
committerBram Moolenaar <Bram@vim.org>2021-05-30 18:04:19 +0200
commitf883d9027c750967b115b82de984ee449ab17aa8 (patch)
tree9b023aace09c2f3a253327440f0520db88abf961 /runtime
parente71c0ebe2cee4a4916c49e206733200299e4c065 (diff)
patch 8.2.2912: MS-Windows: most users expect using Unicodev8.2.2912
Problem: MS-Windows: most users expect using Unicode. Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata, closes #3907)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 4fbc014d32..2f69049fcf 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2828,7 +2828,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|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