RE: proposal: unification of the grapheme_extract functions

"Ed Batutis" <[email protected]> Thu, 8 May 2008 15:41:31 -0400
Newsgroups gmane.comp.php.internationalization
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



-- 
PHP Unicode & I18N Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php