Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79156 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63489 invoked from network); 25 Nov 2014 11:09:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2014 11:09:09 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.245 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.245 imap11-3.ox.privateemail.com Received: from [198.187.29.245] ([198.187.29.245:53534] helo=imap11-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/B3-40624-45364745 for ; Tue, 25 Nov 2014 06:09:09 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 2215B8800CB; Tue, 25 Nov 2014 06:09:06 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap11.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap11.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0DjZjWkRWJ37; Tue, 25 Nov 2014 06:09:05 -0500 (EST) Received: from oa-res-27-210.wireless.abdn.ac.uk (oa-res-27-210.wireless.abdn.ac.uk [137.50.27.210]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id C598C8800E6; Tue, 25 Nov 2014 06:09:04 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) In-Reply-To: Date: Tue, 25 Nov 2014 11:09:02 +0000 Cc: Sara Golemon , PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Derick Rethans X-Mailer: Apple Mail (2.1993) Subject: Re: [PHP-DEV] [RFC] Unicode Escape Syntax From: ajf@ajf.me (Andrea Faulds) > On 25 Nov 2014, at 10:32, Derick Rethans wrote: >=20 > On Mon, 24 Nov 2014, Sara Golemon wrote: >=20 >> On the BMP versus SMP issue of \uXXXX styles, we addressed this in >> PHP6 by making \u denote 4 hexit BMP codepoints, while \U denoted six >> hexit codepoints. e.g. "\u1234" =3D=3D=3D "\U001234" I'd = rather >> follow this style than making \u special and different from hex and >> octal notations by using braces. >=20 > I agree with this fully. No need to reinvent a wheel (that we left=20 > behind on the road)=E2=80=A6 The \u{} style has its advantages, like not being case-sensitive and = being clearly delimited, though. Plus, PHP 6 is dead, and non-BMP code = points are more important than ever. -- Andrea Faulds http://ajf.me/