Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Failed tests of zsh 4.3.5 in Solaris 10 w/Sun Studio 12 CC
- X-seq: zsh-workers 24594
- From: Peter Stephenson <pws@xxxxxxx>
- To: Dagobert Michelsen <dam@xxxxxxxxxxxxx>
- Subject: Re: Failed tests of zsh 4.3.5 in Solaris 10 w/Sun Studio 12 CC
- Date: Tue, 26 Feb 2008 14:57:41 +0000
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <BD1EA7D6-C784-4ED9-9558-5B655CBC5096@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <8AABEECB-A9A6-43EA-BED2-4BE376CBE349@xxxxxxxxxxxxx> <20080226141459.76dc362c@news01> <BD1EA7D6-C784-4ED9-9558-5B655CBC5096@xxxxxxxxxxxxx>
On Tue, 26 Feb 2008 15:42:19 +0100
Dagobert Michelsen <dam@xxxxxxxxxxxxx> wrote:
> Hi Peter,
>
> first, thanks for the effort. I have applied the patch
> and reran the testsuite.
> ./A03quoting.ztst: starting.
> Test ./A03quoting.ztst failed: bad status 1, expected 0 from:
> print '<\u0041>'
> printf '%s\n' $'<\u0042>'
> print '<\u0043>'
> printf '%s\n' $'<\u0044>'
> Error output:
> (eval):1: cannot do charset conversion (iconv failed)
> Was testing: \u in both print and printf
Weird... that's the variant I wasn't expecting since it implies
a run time failure in iconv, and not a dynamical link failure, either.
That means this call failed (Src/utils.c:4878 in the current source):
cd = iconv_open(nl_langinfo(CODESET), "UCS-4BE");
if (cd == (iconv_t)-1) {
zerr("cannot do charset conversion (iconv failed)");
CHARSET_FAILED();
}
Any idea if your iconv supports UCS-4BE? GNU iconv will tell you with
"iconv --list", but if you have a Solaris variant it's likely to be
different. Otherwise, could nl_langinfo(CODESET) not be returning
anything?
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author