Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72715 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12346 invoked from network); 20 Feb 2014 16:17:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2014 16:17:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ajf.me from 198.187.29.241 cause and error) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.241 imap3-1.ox.registrar-servers.com Received: from [198.187.29.241] ([198.187.29.241:48141] helo=imap3-1.ox.registrar-servers.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DA/68-00813-A6A26035 for ; Thu, 20 Feb 2014 11:17:12 -0500 Received: from localhost (localhost [127.0.0.1]) by oxmail.registrar-servers.com (Postfix) with ESMTP id 9124B2A0083 for ; Thu, 20 Feb 2014 11:16:39 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap3.ox.registrar-servers.com Received: from oxmail.registrar-servers.com ([127.0.0.1]) by localhost (imap3.ox.registrar-servers.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id v6zE1Tfngou4 for ; Thu, 20 Feb 2014 11:16:39 -0500 (EST) Received: from [192.168.0.14] (unknown [90.220.179.188]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id D988A2A006A for ; Thu, 20 Feb 2014 11:16:38 -0500 (EST) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Message-ID: <69AB9D0D-FF9E-42BE-B91C-827F7810B0F6@ajf.me> Date: Thu, 20 Feb 2014 16:16:36 +0000 To: internals@lists.php.net Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) X-Mailer: Apple Mail (2.1827) Subject: Simpler Unicode solution for PHP6 From: ajf@ajf.me (Andrea Faulds) Hi, As a simpler to implement approach to Unicode, could we perhaps support = it just by adding an =93is UTF-8=94 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? =97 Andrea Faulds http://ajf.me/=