Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79175 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11800 invoked from network); 25 Nov 2014 18:30:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2014 18:30:11 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.192.174 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.192.174 mail-pd0-f174.google.com Received: from [209.85.192.174] ([209.85.192.174:52863] helo=mail-pd0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/CB-40624-1BAC4745 for ; Tue, 25 Nov 2014 13:30:10 -0500 Received: by mail-pd0-f174.google.com with SMTP id w10so1061367pde.33 for ; Tue, 25 Nov 2014 10:30:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=0Pb4WuS3gBYjGWvWCSyx3HOFmNCVM/x/x0FZ/WQyDw0=; b=HriXyGYk42HRXVcHiq6nKrIDPmn0gYdyz1HGUfRBG5TPE71PSFps7isAk3ibMC4I/m KHTgim/iUr/ocjhfIOTWpm6DRGt6cjv/RiaayhrybWwxcBkjcHb/3pfUdiHNi1wFGdTs C10S/OgqcKhJDM+sCVkZ03CzGrxqTbrSN9gahefsZpIlA9lk3felqlm297eIHr6SGwyd 9SiysDdKOnTsIpmisjIvAd+DlueaxnO00YkZe6yq6CietdMDJxAM9Ne7NBdn+F68QlEg mUt9/X0RClzM9h0Jd7PECUVmVwWjIu2co9ZirINJJdESBWlG6wuiZ94qyK8rYa+hpKNP iLrQ== X-Gm-Message-State: ALoCoQldHPYsVGzvvYVYZOoE3KMoLT8uQeUWsTdaHhUKCAdSg1Vql1J6yN03A5KxqwqHDSHjHe4z MIME-Version: 1.0 X-Received: by 10.70.43.68 with SMTP id u4mr46766353pdl.6.1416940206319; Tue, 25 Nov 2014 10:30:06 -0800 (PST) Sender: php@golemon.com Received: by 10.70.127.139 with HTTP; Tue, 25 Nov 2014 10:30:06 -0800 (PST) X-Originating-IP: [199.201.64.2] In-Reply-To: <20141125112050.GF6315@phcomp.co.uk> References: <24EE758F-BF8F-4AE9-B793-20739CD9875D@ajf.me> <20141125112050.GF6315@phcomp.co.uk> Date: Tue, 25 Nov 2014 10:30:06 -0800 X-Google-Sender-Auth: XPvjCKT3gDLUqqqCpMuBTB9PyQ4 Message-ID: To: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Unicode Escape Syntax From: pollita@php.net (Sara Golemon) On Tue, Nov 25, 2014 at 3:20 AM, Alain Williams 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