[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Unicode support under Linux
Glenn,
> -----Original Message-----
> From: owner-linux-utf8@xxxxxxxxxxxx
> [mailto:owner-linux-utf8@xxxxxxxxxxxx]On Behalf Of Glenn Maynard
> Sent: Thursday, October 04, 2001 9:12 PM
> To: linux-utf8@xxxxxxxxxxxx; cbrown@xxxxxxxxxxx
> Subject: Re: Unicode support under Linux
>
>
> On Thu, Oct 04, 2001 at 08:04:40PM -0700, Carl W. Brown wrote:
> > UChar8 * xiu8_strpbrk(UChar8 *string,
> > UChar8 * charlst)
>
> const:
> char *strpbrk(const char *s, const char *accept);
>
> It'd be nice if the C++ string class was a bit better. Iterators
> would make
> iterating over UTF-8 strings much nicer; dealing with allocation for
> strings in app-level code is something nobody should be doing
> anymore. (This
> kind of library could easily serve as the foundation of a string class,
> obviously.)
I am hoping that by making it open source that others can use the code.
BTW for UTF-8 I find that you are better off defining strings as unsigned
char rather than char.
Carl
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/