PHP and mbstring
Antony Dovgal
tony2001 at phpclub.net
Wed Dec 15 14:58:12 PST 2004
On Wed, 15 Dec 2004 14:49:56 -0800
Ian Kallen <spidaman at gmail.com> wrote:
> Timo Ewald's PHP memcached-client submission from the other day seemed
> to work fine except for the brain-dead semantics of PHP's strlen...
> The code I'm working with has mbstring compiled for multibyte
> charcters. The client code needs to know the length in bytes of data
> payloads, not character counts. So I patched it with the attached
> modifications to make it work.
Since when PHP's strlen() returns character count instead of byte count?
Or you meant that you need to know _character count_, not _byte count_?
--
Wbr,
Antony Dovgal aka tony2001
tony2001 at phpclub.net || antony at dovgal.com
More information about the memcached
mailing list