1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-23 04:51:12 +02:00

35442: document MULTIBYTE is always on by default when available

This commit is contained in:
Peter Stephenson 2015-06-11 12:41:05 +01:00
parent 5ff536f613
commit 370e7f73f6
2 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2015-06-11 Peter Stephenson <p.stephenson@samsung.com>
* 35442: Doc/Zsh/options.yo: multibyte option now on
everywhere by default.
2015-06-08 Oliver Kiddle <opk@zsh.org> 2015-06-08 Oliver Kiddle <opk@zsh.org>
* 35418: Doc/Zsh/compsys.yo: fix usage synopsis for _describe * 35418: Doc/Zsh/compsys.yo: fix usage synopsis for _describe

View file

@ -634,7 +634,7 @@ pindex(NO_MULTIBYTE)
pindex(NOMULTIBYTE) pindex(NOMULTIBYTE)
cindex(characters, multibyte, in expansion and globbing) cindex(characters, multibyte, in expansion and globbing)
cindex(multibyte characters, in expansion and globbing) cindex(multibyte characters, in expansion and globbing)
item(tt(MULTIBYTE) <C> <K> <Z>)( item(tt(MULTIBYTE) <D>)(
Respect multibyte characters when found in strings. Respect multibyte characters when found in strings.
When this option is set, strings are examined using the When this option is set, strings are examined using the
system library to determine how many bytes form a character, depending system library to determine how many bytes form a character, depending
@ -642,10 +642,8 @@ on the current locale. This affects the way characters are counted in
pattern matching, parameter values and various delimiters. pattern matching, parameter values and various delimiters.
The option is on by default if the shell was compiled with The option is on by default if the shell was compiled with
tt(MULTIBYTE_SUPPORT) except in tt(sh) emulation; otherwise it is off by tt(MULTIBYTE_SUPPORT); otherwise it is off by default and has no effect
default and has no effect if turned on. The mode is off in tt(sh) if turned on.
emulation for compatibility but for interactive use may need to be
turned on if the terminal interprets multibyte characters.
If the option is off a single byte is always treated as a single If the option is off a single byte is always treated as a single
character. This setting is designed purely for examining strings character. This setting is designed purely for examining strings