Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48194 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15309 invoked from network); 4 May 2010 13:42:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 May 2010 13:42:20 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass 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:34992] helo=mail-bw0-f219.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CE/70-12067-B3420EB4 for ; Tue, 04 May 2010 09:42:20 -0400 Received: by bwz19 with SMTP id 19so520941bwz.1 for ; Tue, 04 May 2010 06:42:16 -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=CffRcXAeorjCAQf8VxqC5jvf1sR1UWi9UatYB3fUrUk=; b=Y/k4vI6RjCkhTeK2keWZbrwbnjim0d8E1J2ucMG++J27iPhLP2rK5v8grQos13eeDN XRWTjB5eqo8HS6NYAS/LnDMWVM1bx2CFDW1M2ejBDnhNBO/uZHYhKtp9ab5jMETSNMJQ 5WV/5xxqUcl1jKbnn+Z3VZODOV2y4RlqwBh70= 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=boT7GCGOgLOmAlZLCilsxM5REGnlmSFTac3PYG/cYVvMqDqrKPsYbKlkywpxhV122J WEOQrGUGxWTWgrfj4dk177K2v+4019TeE4FbvKlPXVblawnf1yMyBrqg3X3cUtZ/VIhO B3sAmE2boIvssgXb6lli/lhJZ3hjeYfCwcnNQ= MIME-Version: 1.0 Received: by 10.204.138.219 with SMTP id b27mr5572418bku.139.1272980536423; Tue, 04 May 2010 06:42:16 -0700 (PDT) Received: by 10.204.60.146 with HTTP; Tue, 4 May 2010 06:42:16 -0700 (PDT) In-Reply-To: References: Date: Tue, 4 May 2010 15:42:16 +0200 Message-ID: To: Adam Harvey Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=001517448606adf6850485c4e0a8 Subject: Re: [PHP-DEV] Re: Turkish/Azeri locale support From: tyra3l@gmail.com (Ferenc Kovacs) --001517448606adf6850485c4e0a8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, May 4, 2010 at 2:14 PM, Adam Harvey wrote: > 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. > > 3. Do nothing. Pros: no BC breaks of any kind. Cons: continues to > annoy Turkish and Azeri developers and those developing for those > locales. > > If you'd care to reply with a vote for option 1, 2 or 3, I'll tally up > the votes in a week or so. And yes, I am volunteering to deal with > this should option 1 or 2 be picked. > > Adam > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > +1 for the 2nd option. Tyrael --001517448606adf6850485c4e0a8--