From b16923b096b7678bbaa3cc28b216049d12563528 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 22 Mar 2010 19:46:53 +0000 Subject: 27812: display invalid bytes in multibyte characters specially --- Doc/Zsh/zle.yo | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Doc') 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 -- cgit 1.4.1