From 33938ad489e6f3c280d431f92920db5a00458534 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Tue, 27 Sep 2022 15:20:24 +0900 Subject: 50668: treat 8bit chars correctly when multibyte is unset The problem was found in character range, but may have existed in other occasions --- Test/D09brace.ztst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Test') diff --git a/Test/D09brace.ztst b/Test/D09brace.ztst index 580ed430f..961947b67 100644 --- a/Test/D09brace.ztst +++ b/Test/D09brace.ztst @@ -116,3 +116,10 @@ print -r {1..10}{.. 0:Unmatched braces after matched braces are left alone. >1{.. 2{.. 3{.. 4{.. 5{.. 6{.. 7{.. 8{.. 9{.. 10{.. + + () { + setopt localoptions no_multibyte + echo -E {$'\x80'..$'\x81'} + } +0:range of 8bit chars, multibyte option unset +>\M-^@ \M-^A -- cgit 1.4.1