Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79503 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96310 invoked from network); 9 Dec 2014 15:30:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2014 15:30:15 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.47 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.47 mail-wg0-f47.google.com Received: from [74.125.82.47] ([74.125.82.47:50528] helo=mail-wg0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/51-23416-18517845 for ; Tue, 09 Dec 2014 10:30:10 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so1138879wgh.6 for ; Tue, 09 Dec 2014 07:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Nqo+iQOmLmx1KVaq7/p7eqbme8KiVR7PsVE6qQsab80=; b=NQeSTpsOh9hRaQP3G+bbD4FSVAarKmA05EbOkBqZZp8QtkQCZsWQkNq7W01auMmsuL AzYm1XSnfFRBIUYRmmJNPFYqaMxV0JFu1QAG+YATsMJs3xpmywZlGQlEpPkUCJzcbnUO bNBGia+u6QTVv+x/xlHKk9H2Nj41pwA+QWy3kOb1gHxCQvrliz4NRlT+p04GkzCBcgXI fK/28kO4zrx4AR7tIBw5tp+5BFI1o5HurnVRkPmqSrBbmSHXfElJvv/4noyoxhOhqrJe JcSoj1W8JTg71hJRYA3tPDG3FwsCpxlPdZd6B3vGp9T5d1Ub1va8C16otzGkSh1GMF1h FD2Q== X-Received: by 10.194.85.197 with SMTP id j5mr5842932wjz.106.1418139006900; Tue, 09 Dec 2014 07:30:06 -0800 (PST) Received: from [192.168.0.148] ([62.189.198.114]) by mx.google.com with ESMTPSA id b10sm2654170wiw.9.2014.12.09.07.30.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Dec 2014 07:30:06 -0800 (PST) Message-ID: <54871578.6050202@gmail.com> Date: Tue, 09 Dec 2014 15:30:00 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: internals@lists.php.net References: <10EE9A5B-1711-455A-AB6A-6E7EA858D081@ajf.me> <5486AFA3.3000402@lsces.co.uk> <5486FA8B.2070206@lsces.co.uk> <07B2909B-359D-401E-B9CC-DAC0E8F22B19@ajf.me> <5487104E.7020201@lsces.co.uk> In-Reply-To: <5487104E.7020201@lsces.co.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE][RFC] Unicode Codepoint Escape Syntax From: rowan.collins@gmail.com (Rowan Collins) Lester Caine wrote on 09/12/2014 15:07: > On 09/12/14 14:07, Andrea Faulds wrote: >>> On 9 Dec 2014, at 13:35, Lester Caine wrote: >>> >>>> On 09/12/14 13:07, Andrea Faulds wrote: >>>> >>>>> On 9 Dec 2014, at 08:15, Lester Caine wrote: >>>>> >>>>> If ICU is to be adopted as the base for unicode support, then surely >>>>> everything else should follow those rules? >>>>> \uhhhh and \Uhhhhhhhh are defined along with \x{hhhhhh} so does it make >>>>> sense to add something which is not part of ICU? >>>> Er, where does ICU define \uXXXX and \UXXXXXX? I don't unferstand. >>> http://userguide.icu-project.org/strings/regexp >> We aren't using ICU regular expressions, and ICU is merely an implementation detail anyway. > Has THAT been agreed on? Surely if using ICU fully in PHP7 in place of > the patchwork of current fixes for unicode then we don't want to be > breaking thing again by odd differences from the core code for unicode? > I though the agreement was that there was no resource to create an > alternative from scratch? I think what Andrea's getting at is that the fact that ICU is in use under the hood shouldn't be particularly visible to users. If PHP gets "Unicode support" (whatever that turns out to mean), what the user should see is *PHP's Unicode facilities*; only core devs and package maintainers will need to know that those are implemented using ICU. As such, there's no automatic need for PHP to do everything the same way as ICU. -- Rowan Collins [IMSoP]