Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Unicode problem
- X-seq: zsh-workers 24421
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Unicode problem
- Date: Tue, 22 Jan 2008 01:12:08 +0100
- In-reply-to: <200801211445.m0LEjLS7029582@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- 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> <200801211445.m0LEjLS7029582@xxxxxxxxxxxxxx>
On 2008-01-21 14:45:21 +0000, Peter Stephenson wrote:
> It looks like I was wrong: wcwidth() *is* returning zero for the
> zero-width-space character,
This depends on the OS. On Mac OS X, for instance, U+FEFF is regarded
as a control character and wcwidth() returns -1. And the wcwidth of
the combining character U+0300 is 1 (this is also the case of HP-UX).
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author