Re: [RFC] Unicode Escape Syntax

From: Date: Tue, 25 Nov 2014 18:30:06 +0000
Subject: Re: [RFC] Unicode Escape Syntax
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-79175@lists.php.net to get a copy of this message
On Tue, Nov 25, 2014 at 3:20 AM, Alain Williams <addw@phcomp.co.uk> wrote: > If we decide to support non-utf-8 encoding at compile time then we could extend > the syntax a bit to allow the encoding to be specified, eg: > > \U{utf-8: arabic letter alef} > > \U{iso-8859-6: arabic letter alef} > God, that's such a PHP thing to do. And not in a good way... I get the argument against this RFC on the grounds that it's a half-measure, but on the other hand, we all know what happened to our full-measure solution. And that bit of history is why I actually like this as a small, simple, and practical step forward. That's a very PHP thing to do, in a good way. -Sara

« previous php.internals (#79175) next »