Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: D07multibyte.ztst failure on HP-UX 11.11
On Thu, Apr 30, 2009 at 09:41:16AM +0100, Peter Stephenson wrote:
> On Thu, 30 Apr 2009 03:01:51 +0000
> Paul Ackersviller <pda@xxxxxxxxxxxxxxxx> wrote:
> > > How about accented European characters like
> > >
> > > % print -oi H?H H?H H?H H?H H?H
> > > H?H H?H H?H H?H H?H
> >
> > Yes, that appears to give the desired result.
>
> OK, I'll limit it to those. The fact that western European characters work
> better may be a hold over from supporting ISO-8859-1, I suppose.
That gets me past that test, then a subsequent one fails. Hope you
don't mind me keeping the same subject...
./D07multibyte.ztst: starting.
locale en_US.UTF-8 failed
*** /tmp/zsh.ztst.out.4937 2009-04-30 11:23:24.000000000 -0400
--- /tmp/zsh.ztst.tout.4937 2009-04-30 11:23:24.000000000 -0400
***************
*** 1,4 ****
- OK
- OK
- OK
- OK
--- 0 ----
Test ./D07multibyte.ztst failed: output differs from expected as shown above for:
testfn() { (LC_ALL=C; print $'\u00e9') }
repeat 4 testfn 2>&1 | while read line; do
if [[ $line = *"character not in range"* ]]; then
print OK
elif [[ $line = "?" ]]; then
print OK
else
print Failed: no error message and no question mark
fi
done
true
Was testing: error handling in Unicode quoting
./D07multibyte.ztst: test failed.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author