Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
24746:648c3fec2504 | 24747:7da496081b91 |
---|---|
2826 single width. Unfortunately there is no good specification for this | 2826 single width. Unfortunately there is no good specification for this |
2827 and it has been determined on trial-and-error basis. Use the | 2827 and it has been determined on trial-and-error basis. Use the |
2828 |setcellwidths()| function to change the behavior. | 2828 |setcellwidths()| function to change the behavior. |
2829 | 2829 |
2830 *'encoding'* *'enc'* *E543* | 2830 *'encoding'* *'enc'* *E543* |
2831 'encoding' 'enc' string (default: "latin1" or value from $LANG) | 2831 'encoding' 'enc' string (default for MS-Windows: "utf-8", |
2832 otherwise: value from $LANG or "latin1") | |
2832 global | 2833 global |
2833 Sets the character encoding used inside Vim. It applies to text in | 2834 Sets the character encoding used inside Vim. It applies to text in |
2834 the buffers, registers, Strings in expressions, text stored in the | 2835 the buffers, registers, Strings in expressions, text stored in the |
2835 viminfo file, etc. It sets the kind of characters which Vim can work | 2836 viminfo file, etc. It sets the kind of characters which Vim can work |
2836 with. See |encoding-names| for the possible values. | 2837 with. See |encoding-names| for the possible values. |