RE: [PHP-I18N] proposal: unification of the grapheme_extract functions
| From: | Ed Batutis | Date: | Thu, 08 May 2008 19:41:31 +0000 |
| Subject: | RE: [PHP-I18N] proposal: unification of the grapheme_extract functions | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1178@lists.php.net to get a copy of this message | ||
> 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