Re: Unicode
| From: | Ligaya Turmelle | Date: | Mon, 14 Aug 2006 00:50:09 +0000 |
| Subject: | Re: Unicode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240610@lists.php.net to get a copy of this message | ||
tedd wrote:
At 7:08 PM -0700 6/4/06, Rasmus Lerdorf wrote:-- life is a game... so have fun.Larry Garfield wrote:-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.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.