Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48206 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4350 invoked from network); 4 May 2010 20:34:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 May 2010 20:34:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=tokul@users.sourceforge.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tokul@users.sourceforge.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain users.sourceforge.net from 77.240.252.9 cause and error) X-PHP-List-Original-Sender: tokul@users.sourceforge.net X-Host-Fingerprint: 77.240.252.9 avilys.eik.lt Linux 2.6 Received: from [77.240.252.9] ([77.240.252.9:47582] helo=avilys.eik.lt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/7E-12067-DD480EB4 for ; Tue, 04 May 2010 16:34:37 -0400 Received: from avilys.eik.lt (avilys.local [127.0.0.1]) by avilys.eik.lt (Postfix) with ESMTP id 8E2001F51F4 for ; Tue, 4 May 2010 23:28:35 +0300 (EEST) Received: from avilys.eik.lt (avilys.local [127.0.0.1]) by avilys.eik.lt (Postfix) with ESMTP id 6FDDF1F51A6 for ; Tue, 4 May 2010 23:28:35 +0300 (EEST) Received: from 78.63.99.33 (NaSMail authenticated user tomas@topolis.lt) by avilys.eik.lt with HTTP; Tue, 4 May 2010 23:28:35 +0300 (EEST) Message-ID: <40105.4e3f6321.1273004915.nsm@avilys.eik.lt> In-Reply-To: <33413.4e3f6321.1272993612.nsm@avilys.eik.lt> References: <33413.4e3f6321.1272993612.nsm@avilys.eik.lt> Date: Tue, 4 May 2010 23:28:35 +0300 (EEST) To: internals@lists.php.net User-Agent: NaSMail/1.7-dev MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] Re: Turkish/Azeri locale support From: tokul@users.sourceforge.net ("Tomas Kuliavas") 2010.05.04 20:20 Tomas Kuliavas rašė: > 2010.05.04 17:56 Derick Rethans rašė: >> On Tue, 4 May 2010, Adam Harvey wrote: >> >>> 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.) >> >> People *do* do this though. >> >> I'm for option 2. > > Change to 100% case-insensitive function names has bigger probability of > BC break. typo. it is "100% case sensitive function names". I think code in question is related to strcasecmp() or some other standard PHP string function. Make sure that you don't break other case insensitive functions, if you go with option two. -- Tomas