Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79510 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15849 invoked from network); 9 Dec 2014 17:42:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2014 17:42:23 -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 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:33953] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/51-09154-D7437845 for ; Tue, 09 Dec 2014 12:42:22 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 4F5C92400D6; Tue, 9 Dec 2014 12:42:18 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5qBl4qTOayHb; Tue, 9 Dec 2014 12:42:18 -0500 (EST) Received: from [137.50.28.227] (oa-res-28-227.wireless.abdn.ac.uk [137.50.28.227]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id C623F2400C3; Tue, 9 Dec 2014 12:42:15 -0500 (EST) References: <10EE9A5B-1711-455A-AB6A-6E7EA858D081@ajf.me> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Message-ID: <2BABF6F3-4E5E-42CD-899B-075CDE7325D7@ajf.me> Cc: "mario@include-once.org" , internals X-Mailer: iPhone Mail (12B435) Date: Tue, 9 Dec 2014 17:42:13 +0000 To: Derick Rethans Subject: Re: [PHP-DEV] [VOTE][RFC] Unicode Codepoint Escape Syntax From: ajf@ajf.me (Andrea Faulds) Hi Derick, > On 9 Dec 2014, at 16:54, Derick Rethans wrote: >=20 >> On Tue, 9 Dec 2014, Andrea Faulds wrote: >>=20 >> I think \x{xxxx} is misleading anyway - \xXX is always=20 >> single-byte/character, yet Unicode code points can=92t be represented in=20= >> PHP strings as single bytes when encoded in UTF-8 (unless they=92re=20 >> below U+0100, of course). >=20 > You mean below U+0080 surely? Only the "first 7 bits" can be represented=20= > as a single byte with UTF-8. U+0080 is for example 0xC2 0x80 in UTF-8. Ah, yes, my bad. I was probably getting confused with how all Unicode codepo= ints up to U+0100 match Latin-1. Thanks! -- Andrea Faulds http://ajf.me/=