Re: Unicode strings?
| From: | Andrea Faulds | Date: | Thu, 13 Mar 2014 20:36:41 +0000 |
| Subject: | Re: Unicode strings? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-73129@lists.php.net to get a copy of this message | ||
On 13 Mar 2014, at 20:32, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
>
> I agree with your argument in general, but restricting pattern will break
> existing scripts which are working now. If
>
> $café !== $café
> 0x63 0x61 0x66 0xC3 0xA9
> 0x63 0x61 0x66 0x65 0xCC 0x81
>
> is issue. It's current issue. Do we really have to care about this and
> introduce BC? It seems documentation would be enough.
Writing programs in other languages is generally bad practise anyway. I don’t think PHP should
encourage it if it will cause problems.
This would introduce BC breaks, yes, but I suppose you could probably write a program to change
identifier names.
--
Andrea Faulds
http://ajf.me/