Re: RE: str_pad clarification - Re: [PHP-DEV] PHP Unicode strings impl proposal

From: Date: Mon, 29 Aug 2005 20:15:50 +0000
Subject: Re: RE: str_pad clarification - Re: [PHP-DEV] PHP Unicode strings impl proposal
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-18535@lists.php.net to get a copy of this message
Does this mean that if the padding string is base character + two combining characters, we can trim just one of the combining ones or do we trim all the way back to the base one? -Andrei On Aug 29, 2005, at 5:50 AM, Tex Texin 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.)


« previous php.internals (#18535) next »