summaryrefslogtreecommitdiff
path: root/runtime/doc/various.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-17 23:19:38 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-17 23:19:38 +0000
commitca003e1e4f94b4d0d9e0e1dda6cdf9d6045d14fb (patch)
tree97f7150d48975a7bd973de8c098a530c8a265664 /runtime/doc/various.txt
parent68f1a4864760dd13df508ebe6ceadd1d5bb5462c (diff)
downloadvim-git-ca003e1e4f94b4d0d9e0e1dda6cdf9d6045d14fb.tar.gz
updated for version 7.0227
Diffstat (limited to 'runtime/doc/various.txt')
-rw-r--r--runtime/doc/various.txt21
1 files changed, 19 insertions, 2 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index c16587f8f..30a7a0ba0 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 7.0aa. Last change: 2006 Mar 05
+*various.txt* For Vim version 7.0aa. Last change: 2006 Mar 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -66,7 +66,24 @@ g8 Print the hex values of the bytes used in the
value of 'maxcombine' doesn't matter.
Example of a character with two composing characters:
e0 b8 81 + e0 b8 b9 + e0 b9 89 ~
- {not in Vi}
+ {not in Vi} {only when compiled with the |+multi_byte|
+ feature}
+
+ *8g8*
+8g8 Find an illegal UTF-8 byte sequence at or after the
+ cursor. This works in two situations:
+ 1. when 'encoding' is any 8-bit encoding
+ 2. when 'encoding' is "utf-8" and 'fileencoding' is
+ any 8-bit encoding
+ Thus it can be used when editing a file that was
+ supposed to be UTF-8 but was read as if it is an 8-bit
+ encoding because it contains illegal bytes.
+ Does not wrap around the end of the file.
+ Note that when the cursor is on an illegal byte or the
+ cursor is halfway a multi-byte character the command
+ won't move the cursor.
+ {not in Vi} {only when compiled with the |+multi_byte|
+ feature}
*:p* *:pr* *:print*
:[range]p[rint] [flags]