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

[email protected] ("Ed Batutis") Mon, 12 May 2008 15:19:57 -0400
Newsgroups php.i18n
Message-ID <[email protected]>
> 
> Doesn't mb_substr implement the character stuff?

Yes, that covers a character offset and a character count to return. mb
calls don't know anything about graphemes, of course. (At one point I
considered adding a 'grapheme mode' to the mb API though.) grapheme_extract
is different, I think, because it is bridging graphemes and
bytes/characters. I don't know of an mb function like that - there's no
mb_extract.

=Ed