zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Zsh workers <zsh-workers@sunsite.dk>
Subject: Re: configure tests for iconv
Date: Tue, 01 Mar 2005 19:02:34 +0100	[thread overview]
Message-ID: <31072.1109700154@trentino.groupinfra.com> (raw)
In-Reply-To: <200503011246.j21CkRGS031240@news01.csr.com>

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


  reply	other threads:[~2005-03-01 18:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24 16:39 Oliver Kiddle
2005-03-01 12:46 ` Peter Stephenson
2005-03-01 18:02   ` Oliver Kiddle [this message]
2005-03-02 16:08     ` Peter Stephenson
2005-03-02 17:32       ` Andrey Borzenkov
2005-03-02 18:59         ` Peter A. Castro
2005-03-03 11:10       ` Oliver Kiddle
2005-03-03 11:26         ` Peter Stephenson
2005-03-03 13:51           ` Oliver Kiddle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=31072.1109700154@trentino.groupinfra.com \
    --to=okiddle@yahoo.co.uk \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).