zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: Zsh workers <zsh-workers@sunsite.dk>
Subject: Re: configure tests for iconv
Date: Wed, 02 Mar 2005 16:08:44 +0000	[thread overview]
Message-ID: <200503021608.j22G8ips020857@news01.csr.com> (raw)
In-Reply-To: <31072.1109700154@trentino.groupinfra.com>

Oliver Kiddle wrote:
> > 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.

No, that doesn't work either.  The error is from returning -1 from
    	    	    cd = iconv_open(nl_langinfo(CODESET), "ISO-10646");

> Does /usr/bin/printf's \u work?

This fails too, but with the slightly odd error "invalid universal
character name".  It's not a problem with the input format, however,
since that complains about missing hexadecimal digits if you get it wrong.

> Also worth checking is
>   zmodload zsh/langinfo
>   print $langinfo[CODESET]

This gives US-ASCII, which might be part of the problem, though I really
haven't the faintest idea.  A quick scan of the regional and language
settings didn't suggest anything.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************


  reply	other threads:[~2005-03-02 16:09 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
2005-03-02 16:08     ` Peter Stephenson [this message]
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=200503021608.j22G8ips020857@news01.csr.com \
    --to=pws@csr.com \
    --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).