RE: proposal: unification of the grapheme_extract functions

"Ed Batutis" <[email protected]> Mon, 12 May 2008 15:19:57 -0400
Newsgroups gmane.comp.php.internationalization
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


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