Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Combining characters and MacOSX



"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