On Sep 1, 2005, at 6:32 AM, Rolland Santimano wrote:
4) The string can be truncated to the user's requested character
length. The string will be trimmed from the right one unicode utf-8
character (not grapheme, not byte) at a time until the length limit
is
met. (So a combining character is one character for this purpose.)
Shouldn't characters/codepoints be trimmed at both ends, rather than
just at the right end ?
Why would you trim it from the left?
-Andrei
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php