Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: configure tests for iconv
- X-seq: zsh-workers 20902
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: configure tests for iconv
- Date: Tue, 01 Mar 2005 19:02:34 +0100
- In-reply-to: <200503011246.j21CkRGS031240@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <5964.1109263147@xxxxxxxxxxxxxxxxxxxxx> <200503011246.j21CkRGS031240@xxxxxxxxxxxxxx>
Peter wrote:
> I finally got around to trying this under a couple of versions of
> Cygwin. It compiles and links with libiconv fine. It announces it
That probably means the configure changes are right.
> can't do charset conversion, but as far as I can find out it always did;
> probably something outside the C code needs setting up.
Have you tried with a simple character in the basic ASCII range such as
\\u0061. If that works then it may be related to however locales are
configured in Cygwin.
There's a few places in the C code where it produces that error message
so it'd be useful to establish which one applies. Could you perhaps edit
the four instances of the error message to identify which is printed.
Either that or check what the various defines such as HAVE_NL_LANGINFO
and HAVE_ICONV are set to? If HAVE_ICONV is undefined, my AC_DEFINE may
be clashing with the AC_CHECK_FUNC. That could be solved by renaming
HAVE_ICONV in the AC_DEFINE.
Does /usr/bin/printf's \u work?
Also worth checking is
zmodload zsh/langinfo
print $langinfo[CODESET]
Thanks
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author