From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 279 invoked from network); 21 Jan 2008 14:45:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Jan 2008 14:45:50 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 89648 invoked from network); 21 Jan 2008 14:45:43 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Jan 2008 14:45:43 -0000 Received: (qmail 19261 invoked by alias); 21 Jan 2008 14:45:37 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24418 Received: (qmail 19248 invoked from network); 21 Jan 2008 14:45:37 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 21 Jan 2008 14:45:37 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id D50138058F58 for ; Mon, 21 Jan 2008 15:45:29 +0100 (CET) Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [85.115.41.190]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Mon, 21 Jan 2008 15:45:28 +0100 (CET) Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly08g.srv.mailcontrol.com (MailControl) with ESMTP id m0LEi9iR015895 for ; Mon, 21 Jan 2008 14:45:22 GMT Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Mon, 21 Jan 2008 14:45:21 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.1/8.13.4) with ESMTP id m0LEjLeY029586 for ; Mon, 21 Jan 2008 14:45:21 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.14.1/8.14.1/Submit) with ESMTP id m0LEjLS7029582 for ; Mon, 21 Jan 2008 14:45:21 GMT Message-Id: <200801211445.m0LEjLS7029582@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: Unicode problem In-reply-to: <237967ef0801210629t201392a6h4d28fe80fcb5ab44@mail.gmail.com> References: <20080117120932.4458d35a@news01> <200801211415.m0LEFbbU017355@news01.csr.com> <237967ef0801210629t201392a6h4d28fe80fcb5ab44@mail.gmail.com> Comments: In-reply-to "Mikael Magnusson" message dated "Mon, 21 Jan 2008 15:29:48 +0100." Date: Mon, 21 Jan 2008 14:45:21 +0000 From: Peter Stephenson X-OriginalArrivalTime: 21 Jan 2008 14:45:21.0817 (UTC) FILETIME=[3FCBC090:01C85C3C] X-Scanned-By: MailControl A-06-00-00 (www.mailcontrol.com) on 10.71.0.118 X-Virus-Scanned: ClamAV using ClamSMTP "Mikael Magnusson" wrote: > Combining characters combine with the character(s) that come before > them. Combining characters are definitely broken at that moment: that looks like a significant chunk of work (and what you say is already more than what I know about the subject). It looks like I was wrong: wcwidth() *is* returning zero for the zero-width-space character, but the refresh code is written so that that works the same way as width 1, so there is a fundamental problem here. We could do a nasty hack so that characters whose width is zero are treated the same way as non-printable characters, I suppose. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070