Re: What "Unicode support" really means
| From: | Helmut Tessarek | Date: | Sun, 09 Mar 2014 08:24:18 +0000 |
| Subject: | Re: What "Unicode support" really means | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-73024@lists.php.net to get a copy of this message | ||
On 09.03.14 3:24 , Stas Malyshev wrote:
> We probably want both. You may have use case for "give me the third
> character", but you also could have use case - though less frequently -
> for "give me the third code point". And of course case of "give me the
> third byte" should be covered too. As for if these all three should be
> named substr() that remains to be seen.
Wouldn't it make sense to have an optional parameter which specifies the method?
--
regards Helmut K. C. Tessarek
lookup http://sks.pkqs.net for KeyID 0xC11F128D
/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/