Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Combining characters and MacOSX
- X-seq: zsh-workers 24844
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Combining characters and MacOSX
- Date: Fri, 18 Apr 2008 17:06:45 +0100
- In-reply-to: <12C9D7E4-D02E-478F-92BD-FDB75F3C8B2D@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <12C9D7E4-D02E-478F-92BD-FDB75F3C8B2D@xxxxxxxxxxxxxxxxx>
"Jun T." wrote:
> Since all the filenames are decomposed in MacOSX, I guess
> many Mac users (including me) have been waiting for the
> combining character support eagerly.
>
> But the recent "combining character patch" does not work
> on MacOSX, just because wcwidth() on MacOSX is broken.
>
> Is it possible to include a working version of wcwidth()
> in the zsh source tree and use it if the system's wcwidth()
> is broken?
> For example, a version written by Markus Kuhn can be found in:
> http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
Yes, that should be usable. Presumably it shouldn't be too difficult to
craft a configure test for whether the system's wcwidth() returns
something sensible on a standard zero-width character.
--
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