Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Unicode problem
- X-seq: zsh-workers 24418
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Unicode problem
- Date: Mon, 21 Jan 2008 14:45:21 +0000
- In-reply-to: <237967ef0801210629t201392a6h4d28fe80fcb5ab44@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrnfouc3r.6ea.joerg@xxxxxxxxxxxx> <20080117120932.4458d35a@news01> <slrnfp97q5.dvv.joerg@xxxxxxxxxxxx> <200801211415.m0LEFbbU017355@xxxxxxxxxxxxxx> <237967ef0801210629t201392a6h4d28fe80fcb5ab44@xxxxxxxxxxxxxx>
"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 <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author