about summary refs log tree commit diff
path: root/Test/D07multibyte.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-05-07 16:04:21 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-05-07 16:04:21 +0000
commita6ff95d0c1b3874f27baa6dbec9699ac987c110b (patch)
treef5a270d0716ee6ea2db2f2b04bb33db6dd14adce /Test/D07multibyte.ztst
parent4f622ad57062282900cc1d679ffb8b5faa16618b (diff)
downloadzsh-a6ff95d0c1b3874f27baa6dbec9699ac987c110b.tar.gz
zsh-a6ff95d0c1b3874f27baa6dbec9699ac987c110b.tar.xz
zsh-a6ff95d0c1b3874f27baa6dbec9699ac987c110b.zip
26954: read should pass through invalid multibyte characters
Diffstat (limited to 'Test/D07multibyte.ztst')
-rw-r--r--Test/D07multibyte.ztst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index 5c2abeaea..c7ee5791b 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -427,3 +427,9 @@
 >Ą Пётр Ильич Чайковский 梶浦由記
 >Ą Пётр Ильич Чайковский 梶浦由記
 >Ą Пётр Ильич Чайковский 梶浦由記
+
+  setopt cbases
+  print $'\xc5' | read
+  print $(( [#16] #REPLY ))
+0:read passes through invalid multibyte characters
+>0xC5