On Thu, 19 Sep 2002, Bruno Haible wrote:

> Have a look at the libunistr part of
> http://www.haible.de/bruno/gnu/libunistring-0.0.tar.gz
> Its <unistr.h> file declares simple functions for simple tasks - even
> though under the hood many of them are based on iconv.
>
> > I don't think there's any support for 'character' counting as
> > opposed to 'display cell' counting.
>
> In libunistring: u8_strlen vs. u8_strwidth.

Yes! Just what I want, I bet there's too many functions for Mr. Lazy
though :)

Next stage is to make some infinite buffer varients -- I just had an
_evil_ buffer overflow :(

-- 
Rob.                          (Robert de Bath <robert$ @ debath.co.uk>)
                                       <http://www.cix.co.uk/~mayday>


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

Reply via email to