diff --git a/ChangeLog b/ChangeLog index e6f73e30e..8c0f3e6ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2022-03-31 Peter Stephenson + + * 27639: Doc/Zsh/expn.yo: clarify that ${(#)...} deals with + character codes. + 2022-03-30 Peter Stephenson * 49906 (Bart), 49911: Doc/Zsh/builtins.yo, diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 00cbbcd27..bbacc6ae4 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -968,9 +968,10 @@ following flags are supported: startitem() item(tt(#))( -Evaluate the resulting words as numeric expressions and output the -characters corresponding to the resulting integer. Note that this form is -entirely distinct from use of the tt(#) without parentheses. +Evaluate the resulting words as numeric expressions and interpret +these as character codes. Output the corresponding characters. Note +that this form is entirely distinct from use of the tt(#) without +parentheses. If the tt(MULTIBYTE) option is set and the number is greater than 127 (i.e. not an ASCII character) it is treated as a Unicode character.