Re: [PHP-DEV] [Discussion] Scalar Object Strings and MultibyteEncodings

2019-06-22 Thread Rowan Collins
On 20/06/2019 23:30, Mark Randall wrote: There does at least seem to be the starting point in that mb_string is already widely used, and my suggestion that it "work as expected" is more that it would work as the equivalent mb_string / iconv function would. I think this is a rather

Re: [PHP-DEV] [Discussion] Scalar Object Strings and MultibyteEncodings

2019-06-20 Thread Mark Randall
On 20/06/2019 22:19, Rowan Collins wrote: On 20/06/2019 16:36, Mark Randall wrote: "Hello".substr(1) // would work as expected regardless of encoding As I always point out when "multi-byte support" or "Unicode support" is discussed, it's often ambiguous just what should be "expected". My