From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 968 invoked by alias); 26 Mar 2010 01:19:48 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27832 Received: (qmail 25842 invoked from network); 26 Mar 2010 01:19:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at spodhuis.org does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d200912; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=cgr3GAnQKn4pbTiimyiujpP41+y4eGJ6Fxz0DUAzuNc=; b=Qpyx0cncslloXwqkKkpAkwHF1DcXJ9VVlwU/x2HSztTMdf5TdU8qMh562EGquVK0geI2MOoRy8soj+H5MH0hSZiI2v5eQcMeZO12UtUsyhk+GKY94oriFaET1ZWO7gCstPh5iFHV4f60mtHYwB8HV9t81ApHXTeZ/pcylt7wecI=; Date: Thu, 25 Mar 2010 18:02:59 -0700 From: Phil Pennock To: Peter Stephenson Cc: Zsh hackers list Subject: Re: PATCH: count glyphs in multibyte strings Message-ID: <20100326010259.GA68432@redoubt.spodhuis.org> Mail-Followup-To: Peter Stephenson , Zsh hackers list References: <22950.1269552903@pws-pc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22950.1269552903@pws-pc> On 2010-03-25 at 21:35 +0000, Peter Stephenson wrote: > I noticed we were missing this capability; not sure how useful it is in > practice, but it was straightforward to add. > > You might want to check my terminology and assumptions about the way > Unicode works aren't gibberish. What about -1 being returned from wcwidth() for non-printable characters? Looks like this is an existing issue. -Phil