Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116052 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 18092 invoked from network); 17 Sep 2021 02:24:41 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 17 Sep 2021 02:24:41 -0000 To: internals@lists.php.net References: Date: Fri, 17 Sep 2021 13:04:32 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Posted-By: 124.168.141.168 Subject: Re: Make strtolower/strtoupper just do ASCII From: tstarling@wikimedia.org (Tim Starling) Message-ID: On 17/9/21 12:58 pm, Tim Starling wrote: > I would like to know if a patch to make strtolower and strtoupper do > plain ASCII case conversion would be accepted, or if an RFC should be > created. > In case it's unclear, I mean that strtolower() should do 8-bit clean conversion of letters in the 0-127 range, equivalent to strtr( $val, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz' ); -- Tim Starling