Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85653 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53643 invoked from network); 1 Apr 2015 19:03:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2015 19:03:04 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.173 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.173 mail-pd0-f173.google.com Received: from [209.85.192.173] ([209.85.192.173:36230] helo=mail-pd0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/C5-21906-7E04C155 for ; Wed, 01 Apr 2015 14:03:04 -0500 Received: by pdea3 with SMTP id a3so12475829pde.3 for ; Wed, 01 Apr 2015 12:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=L2CeasySMdZxNPHfj49Zu7KOn5xuSj7X3CztneoJ9Zo=; b=qc50jBzjyb02/JJ1YtbCvbX81+yNqSbsrWzOY72Q6uMNPFyGLoGJcz2ZsDfSU2WzdR HW+rZ4oMQQBOjFt2rb8PCGbnzi3LG0dsX81yFg1rXJs7vV/L+J/jJ0zBeh2Edd0GeBkz sbXKu6oCxsGvf3axiKaawVPQCv5Jf3rHqlnCwfXWH5PFcBHBtmzNQ0XV+K5pfqtAXY+j 0O3qOK4H5e1kRPcijaqz6+2pgKtD/rpaQE9roUeb3Aj0dDPQ4SBFb8yt3cSccaguh73w 8vZfeIxUIobPMUge3GszG6EeItKlGiY/noQgVwcnfIk8zrXenGPxwKaiGUEX7q3VA9B0 +YTQ== X-Received: by 10.68.94.37 with SMTP id cz5mr80025817pbb.70.1427914980884; Wed, 01 Apr 2015 12:03:00 -0700 (PDT) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id wg9sm2885262pab.17.2015.04.01.12.02.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 12:03:00 -0700 (PDT) Message-ID: <551C40E3.7090608@gmail.com> Date: Wed, 01 Apr 2015 12:02:59 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Marc Bennewitz , internals@lists.php.net References: <551C3876.5000004@mabe.berlin> In-Reply-To: <551C3876.5000004@mabe.berlin> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecate setlocale? From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > - make strtoupper/strtolower etc. to work with ascii only This would be a bad idea, however much better idea is to make *system* case folding (i.e. methods, classes, etc.) use ascii-only. Which we already mostly do (see zend_operators.c it explains what's going on). Of course, there can be instances of using the wrong function. -- Stas Malyshev smalyshev@gmail.com