tedd wrote:
At 7:08 PM -0700 6/4/06, Rasmus Lerdorf wrote:
Larry Garfield wrote:
In C or C++, yes. In PHP, do not assume the same string->number mapping. Numeric definition is irrelevant.
Right, and now bring Unicode into the picture and this becomes even more true.
-Rasmus
I know there's always RTFM, but if you would care to discuss it, I would like to know why. How does php handle Unicode code-points and char-sets?
Thanks.
tedd
From what little I understand (and I could be wrong - been a while)- it
doesn't. PHP < 6 works in bytes unless you have the mb extension going
and then it fakes it. it doesn't look for code points or charsets.
--
life is a game... so have fun.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php