Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84154 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58983 invoked from network); 2 Mar 2015 08:58:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2015 08:58:31 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.41 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.41 mail-qa0-f41.google.com Received: from [209.85.216.41] ([209.85.216.41:49091] helo=mail-qa0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 98/12-48321-53624F45 for ; Mon, 02 Mar 2015 03:58:29 -0500 Received: by mail-qa0-f41.google.com with SMTP id x12so21860453qac.0 for ; Mon, 02 Mar 2015 00:58:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KPrKFUMaoby4p3cYm+PaS61Uo4pBjYVj1tntS6fECOw=; b=VyjjMsNAs35MREmNw1SoVcU1aYm47N4kSOnUi8fHl6gW1s3o7sGMl1dy2wK5QKnsvP DaAmUZSadXVG1ghtImoP7HOP6qBINaF7DP2hFaqePLl1conTvaoA404NKYrzOygzOaT0 QUYtdY9h6fkgfSuMPiIQhGNKHyqe5o+iUJ3QB9l/h5r/dTLtwrm/2PGo4Ljs8I964YrU VYJDG1c4axnF2dUOtQdf+g596CfXpIlIsU/44sAkjC7mii3L1J1k3tBoDNCmhzg2g4h0 shecbHX9YBlkqNBsOR5g36JiK392u3+uDHGtAhEnuAGDr58M94qUrkH6wyq5CvrxDgje Qmgw== MIME-Version: 1.0 X-Received: by 10.140.130.216 with SMTP id 207mr882677qhc.75.1425286707591; Mon, 02 Mar 2015 00:58:27 -0800 (PST) Received: by 10.96.39.195 with HTTP; Mon, 2 Mar 2015 00:58:27 -0800 (PST) In-Reply-To: References: <1413875212.2624.3.camel@localhost.localdomain> Date: Mon, 2 Mar 2015 00:58:27 -0800 Message-ID: To: Nikita Popov Cc: Joe Watkins , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] UString From: pierre.php@gmail.com (Pierre Joye) On Mon, Mar 2, 2015 at 12:48 AM, Nikita Popov wrote: > On Tue, Oct 21, 2014 at 9:06 AM, Joe Watkins wrote: > >> Morning internalz, >> >> https://wiki.php.net/rfc/ustring >> >> This is the result of work done by a few of us, we won't be >> opening any >> vote in a fortnight. We have a long time before 7, there is no rush >> whatever. >> >> Now seems like a good time to start the conversation so we can >> hash out >> the details, or get on with other things ;) >> > > I'm not totally convinced by this proposal. We already have quite a number > of extensions that deal with unicode text in one way or another (at least > intl, mbstring and iconv). This adds yet another way of dealing with this > issue - a way that will have to be combined with at least two other > extensions (mbstring or iconv for input handling and conversion) and intl > for any non-trivial operations. There's nothing wrong with adding another > approach for unicode handling per se, but I'd like to have more empahsis on > how this integrates with existing functionality and why it is implemented > separately from it (especially intl), etc. > > On a more general note, I'd appreciate it if RFCs proposing the inclusion > of extensions moved more of their content into the actual RFC, as opposed > to being thin wrappers around the extension README/docs. We had this issue > with the pecl_http RFC and the same applies here. I think the suggested API > is a pretty important aspect of the proposal and as such should be included > in the RFC and maybe also commented a bit ;) Full ack. Both paragraph. As of now, and based on the previous discussions pointed out the same issues (minus the RFC one, but this is a detail, important, but a detail), I am also not convinced this is the way to tackle the Unicode text support. It should either be part of intl (and proposed to enable intl always for 7, with other RFC) or main. Main has the advantage to provide a easier integration with other extensions. Cheers, -- Pierre @pierrejoye | http://www.libgd.org