From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27472 invoked from network); 17 Jan 2008 12:11:11 -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; 17 Jan 2008 12:11:11 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 69000 invoked from network); 17 Jan 2008 12:11:08 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jan 2008 12:11:08 -0000 Received: (qmail 11684 invoked by alias); 17 Jan 2008 12:11:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24405 Received: (qmail 11670 invoked from network); 17 Jan 2008 12:11:04 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 17 Jan 2008 12:11:04 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 0790080307F6 for ; Thu, 17 Jan 2008 13:11:01 +0100 (CET) Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [85.115.41.190]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Thu, 17 Jan 2008 13:11:00 +0100 (CET) Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly07g.srv.mailcontrol.com (MailControl) with ESMTP id m0HC9uTZ008942 for ; Thu, 17 Jan 2008 12:10:48 GMT Received: from news01 ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Thu, 17 Jan 2008 12:09:33 +0000 Date: Thu, 17 Jan 2008 12:09:32 +0000 From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: Unicode problem Message-ID: <20080117120932.4458d35a@news01> In-Reply-To: References: Organization: CSR X-Mailer: Claws Mail 3.2.0 (GTK+ 2.10.14; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 17 Jan 2008 12:09:33.0611 (UTC) FILETIME=[D22DB7B0:01C85901] X-Scanned-By: MailControl A-06-00-00 (www.mailcontrol.com) on 10.71.0.117 X-Virus-Scanned: ClamAV using ClamSMTP On Thu, 17 Jan 2008 10:39:55 +0000 (UTC) J=C3=B6rg Sommer wrote: > I'm running zsh in an UTF=E2=80=908 environment. Today I wanted to know w= hat this > =E2=80=9Cf=EF=BB=BF=E2=80=9D character is and found that zsh can't handle= it. Please, when sending bug reports, can people say explicitly what's actually going wrong and what they're doing to provoke it. I think you mean that when you move the cursor backward it miscounts the character it's on, but I had to guess that from the throwaway remark at the end. > The problem seems to be the zero with character. This explains why I can > go back before the U of =E2=80=9Cunicode.=E2=80=9D So that actually displays as zero width on your terminal? (I'm having to guess this, too.) Yes, that's bound to cause the shell problems. In fact, it's going to be quite impossible to edit: how do you even know it's there? On gnome-terminal, which I'm using, it shows up as as a thick underscore which is counted as width 1, and this works. However, I can certainly see problems in Konsole. So this is apparently terminal-specific. --=20 Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070