Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72716 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14047 invoked from network); 20 Feb 2014 16:24:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2014 16:24:00 -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.44 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.44 mail-qa0-f44.google.com Received: from [209.85.216.44] ([209.85.216.44:35907] helo=mail-qa0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/C8-00813-F1C26035 for ; Thu, 20 Feb 2014 11:23:59 -0500 Received: by mail-qa0-f44.google.com with SMTP id w5so3254707qac.31 for ; Thu, 20 Feb 2014 08:23:56 -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=TZF1xXQIQUsK/UWfIRJftSYmxEPUeMA+XTk3xSfuFrw=; b=DGQ3B5dpj9D1ApA/0qfgK6pYItu4Z1oeyc2nvtsQF/DmGfYhNEXjUGyxxcnNO8TNLJ GL5h0VVUOqm/zBIhwA2TPZyzZyM5Gsz1tNiRf1i7Xc/wVTanw8a5b772tLd+nvPTK03C FNfAMk/UsPL6Ip3F6J6AofVsNR9ccNLxdWwzJWIyYUCB6SrbqNtTWiaV1O+tTO858ys+ Y03GJt5zUUZ4B97OKsDP13/sz5i+j1KBW8qzSxWxzv07PSXFfbMjNmDbMapFDpjktYk0 CYzUv+FNt4mUrtkBgBOw80MmhxPYN5OXx3zEIgag6PAbi53lM/9N8ayCos0ERb+blxBR +OQA== MIME-Version: 1.0 X-Received: by 10.224.63.131 with SMTP id b3mr2798125qai.63.1392913436207; Thu, 20 Feb 2014 08:23:56 -0800 (PST) Received: by 10.140.18.145 with HTTP; Thu, 20 Feb 2014 08:23:56 -0800 (PST) Received: by 10.140.18.145 with HTTP; Thu, 20 Feb 2014 08:23:56 -0800 (PST) In-Reply-To: <69AB9D0D-FF9E-42BE-B91C-827F7810B0F6@ajf.me> References: <69AB9D0D-FF9E-42BE-B91C-827F7810B0F6@ajf.me> Date: Thu, 20 Feb 2014 17:23:56 +0100 Message-ID: To: Andrea Faulds Cc: PHP internals Content-Type: multipart/alternative; boundary=047d7beb961e916e3104f2d8ee27 Subject: Re: [PHP-DEV] Simpler Unicode solution for PHP6 From: pierre.php@gmail.com (Pierre Joye) --047d7beb961e916e3104f2d8ee27 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, On Feb 20, 2014 11:17 PM, "Andrea Faulds" wrote: > > Hi, > > As a simpler to implement approach to Unicode, could we perhaps support it just by adding an =E2=80=9Cis UTF-8=E2=80=9D flag to strings internally?= Then unmodified functions would just see a normal string and handle it like they do any other, and modified and new Unicode-aware functions would test for the presence of the flag and handle the string appropriately in that case. > > Thoughts? That could be an option during the development phase. However I do not like the idea of a flag for the final implementation, it creates more troubles from an application point of view. The main problem remains tho' (see the other threads). If we do not manage to solve it within the next months, we can delay 6 for another year or two. Cheers, Pierre --047d7beb961e916e3104f2d8ee27--