Re: Re: mbstring

From: Date: Tue, 03 Sep 2002 08:09:22 +0000
Subject: Re: Re: mbstring
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-87849@lists.php.net to get a copy of this message
At 10:25 03/09/2002, derick@php.net wrote:
strlen() overloaded by mb_strlen might causes some problems because it is used to measure length of string and to measure length of binary data. So, a new function to measure string length only (or binary length only) will be necessary. Sure, I don't think that will be a problem.
I do. strlen() should go on returning the binary length, breaking that is really a bad idea. We can introduce a new function altogether that returns the 'calculated' MB aware length, that won't cause any problems. Zeev

« previous php.dev (#87849) next »