From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10360 invoked from network); 2 Mar 2005 16:09:01 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 2 Mar 2005 16:09:01 -0000 Received: (qmail 30125 invoked from network); 2 Mar 2005 16:08:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Mar 2005 16:08:54 -0000 Received: (qmail 23935 invoked by alias); 2 Mar 2005 16:08:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20910 Received: (qmail 23926 invoked from network); 2 Mar 2005 16:08:52 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 2 Mar 2005 16:08:52 -0000 Received: (qmail 29875 invoked from network); 2 Mar 2005 16:08:52 -0000 Received: from mailhost1.csr.com (HELO MAILSWEEPER01.csr.com) (81.105.217.43) by a.mx.sunsite.dk with SMTP; 2 Mar 2005 16:08:47 -0000 Received: from exchange03.csr.com (unverified [10.100.137.60]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Wed, 2 Mar 2005 16:07:16 +0000 Received: from news01.csr.com ([10.103.143.38]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 2 Mar 2005 16:09:59 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.1/8.12.11) with ESMTP id j22G8jiC020862 for ; Wed, 2 Mar 2005 16:08:45 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.13.1/8.13.1/Submit) with ESMTP id j22G8ips020857 for ; Wed, 2 Mar 2005 16:08:45 GMT Message-Id: <200503021608.j22G8ips020857@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: Zsh workers Subject: Re: configure tests for iconv In-reply-to: <31072.1109700154@trentino.groupinfra.com> References: <5964.1109263147@trentino.logica.co.uk> <200503011246.j21CkRGS031240@news01.csr.com> <31072.1109700154@trentino.groupinfra.com> Date: Wed, 02 Mar 2005 16:08:44 +0000 From: Peter Stephenson X-OriginalArrivalTime: 02 Mar 2005 16:09:59.0950 (UTC) FILETIME=[48CB1AE0:01C51F42] X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.5 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.5 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 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. **********************************************************************