Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84123 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69205 invoked from network); 1 Mar 2015 21:26:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2015 21:26:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.49 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.216.49 mail-qa0-f49.google.com Received: from [209.85.216.49] ([209.85.216.49:36329] helo=mail-qa0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D3/E2-53678-71483F45 for ; Sun, 01 Mar 2015 16:26:48 -0500 Received: by mail-qa0-f49.google.com with SMTP id w8so20107978qac.8 for ; Sun, 01 Mar 2015 13:26:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=aBIdnPeHJYm5eK78sB5DWbhT3rdlxl+O/JnKvsRtYpg=; b=MSNJnHyv575IAMJ3LPh9/Pt8HHsoWQa8+pRsSLtOA3BqLPHtJxAhtbnQMJDfyVmnPh 2HlmsZ6G6ntj9iY1sMEzsLf6F53jWjDPEvBMpBsjc4ORhzt+rb59I6lQOenQCkA7GKdX rGjcze7ly6M+6yYr1dq1W70kx//Uf3hy34NV6A7MySEQqGtCwmDksTg5OxvvbiMhFxsZ Dv0MM3VN7cmc3UfaWrPK2/pg8ngjDE9xtqpX+iyT154zEGVl/394/iXSa2zZ+eDgR9IX Fe0kZ7Ae2sLnyZbvdhHpr/ZK1VnOBKtq2XL1Xt5Kb+WoWKuTbqOmVyrActZmAOy/8fd6 3qRQ== X-Received: by 10.140.234.130 with SMTP id f124mr28840170qhc.36.1425245205372; Sun, 01 Mar 2015 13:26:45 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Sun, 1 Mar 2015 13:26:05 -0800 (PST) In-Reply-To: <54F377D2.7030601@lsces.co.uk> References: <1413875212.2624.3.camel@localhost.localdomain> <54469840.3070708@sugarcrm.com> <1414051917.2624.35.camel@localhost.localdomain> <1414060726.2624.60.camel@localhost.localdomain> <1414072403.3228.3.camel@kuechenschabe> <87D717D5-273B-4A32-A3E5-83EBDFD314CB@ajf.me> <1414077690.3228.12.camel@kuechenschabe> <54495CF6.30608@sugarcrm.com> <1414130585.2624.64.camel@localhost.localdomain> <54F377D2.7030601@lsces.co.uk> Date: Mon, 2 Mar 2015 06:26:05 +0900 X-Google-Sender-Auth: UqY3XEY-KGqautGdGW-4GxawOnA Message-ID: To: Lester Caine Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113551e42f26c6051040c2cc Subject: Re: [PHP-DEV] [RFC] UString From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113551e42f26c6051040c2cc Content-Type: text/plain; charset=UTF-8 Hi Lester, On Mon, Mar 2, 2015 at 5:34 AM, Lester Caine wrote: > On 28/02/15 06:48, Joe Watkins wrote: > > This is just a quick note to announce my intention to ready this RFC > > for voting next week. > > Since there is nothing in this which needs any changes to the core then > surly it simply needs to exist in pecl until such time as a proper > replacement for unicode in core strings has been addressed? Since it > will still require intl to provide those areas it does not support, and > I question if we really need to provide yet another encoding converter. > > A unicode string handler that just handles UTF8 strings may be yet > another stepping stone, but it still falls short of beings able to > handle all of the internationalization problems and is simply an > alternate to mbstring so one either runs both, or sit down and convert > all the third party libraries to eliminate mbstring. > > Like http extension, it's not essential that it's loaded by default, and > leaving it in pecl allows development outside that of the core? Although it seems current code does not have code like GMP. I'm sure we'll have this before release. i.e. $new = $some_ustring . 'abc'; // $new is UString object To implement feature like this, it cannot be PECL. My only concern for this RFC performance. It's loosely integrated into PHP core, it may affect efficiency. I suppose other people are working on simple and tighter integration into core. Any comments on this? Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a113551e42f26c6051040c2cc--