RE: [PHP-I18N] proposal: unification of the grapheme_extract functions

[email protected] ("Ed Batutis") Thu, 8 May 2008 15:41:31 -0400
Newsgroups php.i18n
Message-ID <[email protected]>
>  If I use GRAPHEME_EXTR_MAXBYTES, does it return ...

> I assume it is the max # of whole graphemes that do not exceed the max
> bytes.

Yes. It works just like the old grapheme_extractb.

> Also, the $start value is that in byte, character or grapheme units for
> each of the types?

The start value is always bytes. I was unsure if this made sense, really,
but it is consistent (and easy to implement).

=Ed