Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78201 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39333 invoked from network); 21 Oct 2014 13:45:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Oct 2014 13:45:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; 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:35726] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EB/F6-02077-E7366445 for ; Tue, 21 Oct 2014 09:45:34 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id A0B622400C7; Tue, 21 Oct 2014 09:45:30 -0400 (EDT) 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 B0vHM1Dq8yN3; Tue, 21 Oct 2014 09:45:30 -0400 (EDT) Received: from oa-res-26-28.wireless.abdn.ac.uk (oa-res-26-28.wireless.abdn.ac.uk [137.50.26.28]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 29E0B2400DE; Tue, 21 Oct 2014 09:45:29 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) In-Reply-To: <1413875212.2624.3.camel@localhost.localdomain> Date: Tue, 21 Oct 2014 14:45:28 +0100 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <70CC841E-AC7A-4596-B236-B51456DC8DD2@ajf.me> References: <1413875212.2624.3.camel@localhost.localdomain> To: Joe Watkins X-Mailer: Apple Mail (2.1990.1) Subject: Re: [PHP-DEV] [RFC] UString From: ajf@ajf.me (Andrea Faulds) So, one thing which I think is worth bringing up is code points vs. = characters/graphemes. This came up in another recent thread about Unicode on internals. While = code-point manipulation is all well and good, we also need grapheme = manipulation functions. Could we add these? That would make the API more = useful. On that note, ->charAt ought to be ->codepointAt to avoid being = misleading. -- Andrea Faulds http://ajf.me/