Seer <[EMAIL PROTECTED]> writes:

> I am wondering why libunicode does not implement
> unicode_string_width (im looking at v0.4 which I
> believe to be the latest version).
> There is an implementation (for the BMP at least) at 
> http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
> by markus kuhn. With a little effort is could
> be dropped into place. (using unicode_get_utf8)
> an example is below; mk_wcwidth could use some
> simplification, but its good enough.

There are a couple of libraries called 'libunicode'; but if you mean
the one originally written by Tom Tromey, it should be noted that it
is, for all practical purposes, dead.

(I took over maintainence from Tom for a while, but then we moved the
interesting parts of libunicode into GLib, and replaced the
portable-iconv parts with libiconv, so stopped using it for
GLib/Pango/GNOME.)

Regards,
                                        Owen

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to