Re: Fast UTF-8 strlen function




Sevag Krikorian wrote:
> >
>
> If you're going with new library routines, why not use UTF-32
instead?

UTF-32 is an *okay* internal format, but AFAICT it's not widely
accepted as an external format.

Eventually, I do plan to add new library routines to HLA (in v2.0) to
support all this stuff, but right now I just need to add appropriate
support to HLA v2.0 (and the ADK) itself. I'm working under the belief
that if I can support UTF-8 inside HLA v2.0, everyone will be happy
(e.g., if someone actually produces a UTF-16 text file, it can be run
through a filter to produce a UTF-8 file).

When it comes time to actually produce a set of standard library
routines for HLA v2.0, I suspect that having a set of UTF-7.5, UTF-8,
UTF-16, *and* UTF-32 routines wouldn't be a bad idea.
Cheers,
Randy Hyde

.