Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48210 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72391 invoked from network); 5 May 2010 07:09:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 May 2010 07:09:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.219 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.218.219 mail-bw0-f219.google.com Received: from [209.85.218.219] ([209.85.218.219:48678] helo=mail-bw0-f219.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/18-08048-C9911EB4 for ; Wed, 05 May 2010 03:09:17 -0400 Received: by bwz19 with SMTP id 19so1054211bwz.1 for ; Wed, 05 May 2010 00:09:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=WqNpcOU+oqq8gr31qMYP4RQQC3par3g/KXXWiLpV9jY=; b=u4ySqQh0v8PRjlWzRB6J4IFgk7tdiJGfCOH+6FokP3mmLmQ9Q0yiQZFFOUQB1HbeC1 jy36rjO/ObDIPNYeitk4HM4DDXNw9t8mueHqDLOPMcujUve372eDs1/IG4SgIkUV5gAI UOMNDeWODRu/er9yK0la9vr/eG+jLQ1rKPvtE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sfr7O4gPdXNSScz39pu70SYy4V64zDKhwQNvtDHxYmVR1xBz89o0tehs+peXc3je4j 1S/9Z3a68ExqBJAwvtjNnHkTjzWNSr/RvY05wXxlpFRv8hoTizVWNGVuBB3Fw7SrjmLc VYV4PrsugXiZ8fNmEJwaxkcIGcY5mNbAyvD2M= MIME-Version: 1.0 Received: by 10.204.3.23 with SMTP id 23mr1328155bkl.142.1273043353358; Wed, 05 May 2010 00:09:13 -0700 (PDT) Received: by 10.204.60.146 with HTTP; Wed, 5 May 2010 00:09:13 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 May 2010 09:09:13 +0200 Message-ID: To: Patrick ALLAERT Cc: Adam Harvey , internals@lists.php.net Content-Type: multipart/alternative; boundary=0015174be91edc50f10485d380dd Subject: Re: [PHP-DEV] Re: Turkish/Azeri locale support From: tyra3l@gmail.com (Ferenc Kovacs) --0015174be91edc50f10485d380dd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, May 5, 2010 at 8:44 AM, Patrick ALLAERT wro= te: > 2010/5/4 Adam Harvey : > > On 19 April 2010 11:58, Adam Harvey wrote: > >> As at least some of you would already be aware, there's a > >> long-standing issue with using PHP in a Turkish or Azeri locale, > >> namely that case-insensitive lookups within the Zend engine (method > >> names, for example) fail on lookups involving upper-case I characters, > >> since lower-case I in those languages is =C4=B1 instead of i (note the= lack > >> of a dot). > > > > Well, I'm going to assume that people have had whatever say they were > > going to. It seems that we have three options, so let's put it to a > > vote. > > > > (To be completely clear, this is purely for trunk. This certainly > > isn't a candidate for backporting to 5.3.) > > > > The options are: > > > > 1. Apply Tomas's patch to make case-insensitive lookups > > locale-ignorant. Pros: fixes immediate problem. Cons: breaks BC for > > case-insensitive function/method name lookups for high-bit characters > > in single-byte encodings. (Not that we've ever advertised or > > documented that.) > > > > 2. Make function/method names case-sensitive, per Stan's e-mail. Pros: > > fixes problem; brings PHP into line with most other languages; extra > > consistency with variables; possible performance improvement. Cons: BC > > break from current documented behaviour. > > Once and for all: +1 for #2 (BTW that kind of BC will not be that hard to > fix!) > > RMs: should this really be part of PHP 5.4 if it gets approved? > AFAIK the new stable branch version number hasn't been decided yet. Tyrael --0015174be91edc50f10485d380dd--