Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: count glyphs in multibyte strings
- X-seq: zsh-workers 27834
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: count glyphs in multibyte strings
- Date: Fri, 26 Mar 2010 20:50:51 +0000
- In-reply-to: <201003260953.o2Q9rwAq007323@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <22950.1269552903@pws-pc> <20100326010259.GA68432@xxxxxxxxxxxxxxxxxxxx> <201003260953.o2Q9rwAq007323@xxxxxxxxxxxxxx>
On Fri, 26 Mar 2010 09:53:58 +0000
Peter Stephenson <pws@xxxxxxx> wrote:
> Phil Pennock wrote:
> > What about -1 being returned from wcwidth() for non-printable
> > characters? Looks like this is an existing issue.
>
> Yes, it would make a mess of the existing code although the new capability
> would handle it better. I'm not sure whether the right answer is 1 or 0,
> but it's not -1.
The code was inconsistent; some places handled unprintable characters as
width 0, others as 1, some didn't handle them specially. I'll
rationalise them all to 0. CVS is still down at the moment (see notice
from https://sourceforge.net/apps/wordpress/sourceforge/ below).
CVS outage 2010-03-25
March 25th, 2010
Hello folks,
Update on the current CVS outage that is affecting projects whose UNIX
names start with the letters a, e, h, i, m, o, r, s, w, z.
The work being done on this server may take up to two days to
resolve. Weâre working to resolve this with alacrity and assure maximum
stability and performance.
Please bear with us as we work to get this effort completed.
Best regards,
Daniel Hinojosa â Sr. Manager Support, SourceForge.net
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author