Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73128 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89922 invoked from network); 13 Mar 2014 20:33:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2014 20:33:24 -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.215.47 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.47 mail-la0-f47.google.com Received: from [209.85.215.47] ([209.85.215.47:42575] helo=mail-la0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/C7-47923-21612235 for ; Thu, 13 Mar 2014 15:33:23 -0500 Received: by mail-la0-f47.google.com with SMTP id y1so1074784lam.6 for ; Thu, 13 Mar 2014 13:33:19 -0700 (PDT) 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=bto5vwoK6HOvOgCeRC7mQJH257H7g82vV9ImvLy9lqM=; b=fisFe4EQyCMGgd5qdY+LKGknIbg8fSF8I9ezNqDD3FGju9BRr8rYyhW6JEuCRFAmAd xhtB4HtFGKw8+0fjWd9TzdIEyt0IQ6iN7iKnRCvxXE+ub1VIOSzAqzk3xmT1AqbDVWBo ZjlslUuwWsnyOye+k0tjjLFMJXwT6J+jkqAliiiJ7rtgnlotKWbZhjy6RJX9BpGMF8ad gBJHn5LmMjr1qqwGWDsALWlmTqeEM0IJr42coxZZgEBiNRUtgP8609rdV+jTNaHDg5Mi DROtedTC06qUsBNgL5kfoyIEGAmGFUbsqaTDygeZO8yEqu01y0ro+gCSaZDYk61UVult WJLA== X-Received: by 10.112.49.197 with SMTP id w5mr160488lbn.65.1394742799256; Thu, 13 Mar 2014 13:33:19 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.205.73 with HTTP; Thu, 13 Mar 2014 13:32:39 -0700 (PDT) In-Reply-To: <53220E2D.2080605@sugarcrm.com> References: <531EE602.3090207@lsces.co.uk> <531EEE2A.2000602@googlemail.com> <531F0146.5010701@lsces.co.uk> <53202DC5.4010306@googlemail.com> <532033E1.60602@lsces.co.uk> <53203687.7090405@googlemail.com> <532037F4.6020204@googlemail.com> <532049BB.2080605@lsces.co.uk> <53204C6B.3000506@googlemail.com> <5320511A.7040606@lsces.co.uk> <5320F554.5000109@lerdorf.com> <53210857.5040908@googlemail.com> <53220E2D.2080605@sugarcrm.com> Date: Fri, 14 Mar 2014 05:32:39 +0900 X-Google-Sender-Auth: t34spmG7kM_GY5HHpAbR5rlf3P0 Message-ID: To: Stas Malyshev Cc: Crypto Compress , PHP Developers Mailing List Content-Type: multipart/alternative; boundary=001a1135f6461a51a204f482ddad Subject: Re: [PHP-DEV] Unicode strings? From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1135f6461a51a204f482ddad Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Stas, On Fri, Mar 14, 2014 at 4:59 AM, Stas Malyshev wrot= e: > > Good point, but users should use NFC UTF-8 without BOM for > > variable/function names. > > Given that the user has no means to distinguish normal forms and other > invisible details, what you're saying is "stuff would randomly not work, > but we'll make it user's fault because we'd have a small print note in > our docs that says the user has to satisfy conditions for which he has > no means to check". Not the best idea. I agree with your argument in general, but restricting pattern will break existing scripts which are working now. If $caf=C3=A9 !=3D=3D $caf=C3=A9 0x63 0x61 0x66 0xC3 0xA9 0x63 0x61 0x66 0x65 0xCC 0x81 is issue. It's current issue. Do we really have to care about this and introduce BC? It seems documentation would be enough. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1135f6461a51a204f482ddad--