Re: Unicode strings?

From: Date: Tue, 11 Mar 2014 17:43:13 +0000
Subject: Re: Unicode strings?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-73067@lists.php.net to get a copy of this message
On 11 Mar 2014, at 12:27, Lester Caine <lester@lsces.co.uk> wrote: > How do you provide a holder for the various additional items required for a unicode > 'object'? While I can see one would get away with calling functions all the time on a > single string object, having calculated different versions of the same string or complex character > counts, they need to be cached so they can be used again? Or does one maintain each answer in > different variables? ???? What other data? You could stick a Unicode string in the same space we currently stick a byte string, just encode it in UTF-8. That’s all you need. -- Andrea Faulds http://ajf.me/

« previous php.internals (#73067) next »