about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-03-22 19:46:53 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-03-22 19:46:53 +0000
commitb16923b096b7678bbaa3cc28b216049d12563528 (patch)
treee62c1073528d0ace6717fe47c6b7643f6921dbd6 /Doc
parent08dec290d4d6558f95df9e22daf3a9940547442a (diff)
downloadzsh-b16923b096b7678bbaa3cc28b216049d12563528.tar.gz
zsh-b16923b096b7678bbaa3cc28b216049d12563528.tar.xz
zsh-b16923b096b7678bbaa3cc28b216049d12563528.zip
27812: display invalid bytes in multibyte characters specially
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/zle.yo14
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 91c13a563..0e2fea5bd 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -2286,6 +2286,20 @@ angle brackets.  The number is the code point of the character in the wide
 character set; this may or may not be Unicode, depending on the operating
 system.
 )
+item(Invalid multibyte characters)(
+If the tt(MULTIBYTE) option is in effect, any sequence of one or more
+bytes that does not form a valid character in the current character
+set is treated as a series of bytes each shown as a special character.
+This case can be distinguished from other unprintable characters
+as the bytes are represented as two hexadecimal digits between angle
+brackets, as distinct from the four or eight digits that are used for
+unprintable characters that are nonetheless valid in the current
+character set.
+
+Not all systems support this: for it to work, the system's representation of
+wide characters must be code values from the Universal Character Set,
+as defined by IS0 10646 (also known as Unicode).
+)
 enditem()
 
 If tt(zle_highlight) is not set or no value applies to a particular