diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-13 20:04:55 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-13 20:04:55 +0000 |
commit | c6d8db78b1e5d2edefd76f03b97c3a88f0be2c73 (patch) | |
tree | 54bcb088c33ff6c78b1d0b70fdca162b31778408 /runtime | |
parent | b0bf8580c38d51a44ffe973fef946e538df16dac (diff) |
updated for version 7.0169
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 10 | ||||
-rw-r--r-- | runtime/doc/tags | 1 |
2 files changed, 8 insertions, 3 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index cea358899b..d3db102248 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.0aa. Last change: 2005 Dec 12 +*options.txt* For Vim version 7.0aa. Last change: 2005 Dec 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2545,7 +2545,9 @@ A jump table for the options with a short description can be found at |Q_op|. 'encoding' is "utf-8" (or one of the other Unicode variants) conversion is most likely done in a way that the reverse conversion results in the same text. When 'encoding' is not - "utf-8" special characters may be lost! + "utf-8" some non-ASCII characters may be lost! You can use + the |++bad| argument to specify what is done with characters + that can't be converted. For an empty file or a file with only ASCII characters most encodings will work and the first entry of 'fileencodings' will be used (except "ucs-bom", which requires the BOM to be present). If you prefer @@ -2555,7 +2557,9 @@ A jump table for the options with a short description can be found at |Q_op|. \ set fenc=iso-2022-jp | endif < This sets 'fileencoding' to "iso-2022-jp" if the file does not contain non-blank characters. - Note that 'fileencodings' is not used for an new file, 'fileencoding' + When the |++enc| argument is used then the value of 'fileencodings' is + not used. + Note that 'fileencodings' is not used for a new file, 'fileencoding' is always empty then. This means that a non-existing file may get a different encoding than an empty file. The special value "ucs-bom" can be used to check for a Unicode BOM diff --git a/runtime/doc/tags b/runtime/doc/tags index 157e164a86..6b572fd408 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -1013,6 +1013,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* ( motion.txt /*(* ) motion.txt /*)* + motion.txt /*+* +++bad editing.txt /*++bad* ++bin editing.txt /*++bin* ++builtin_terms various.txt /*++builtin_terms* ++enc editing.txt /*++enc* |