Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116067 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 93229 invoked from network); 17 Sep 2021 12:01:25 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Sep 2021 12:01:25 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 271AF18053F for ; Fri, 17 Sep 2021 05:41:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS1836 195.49.0.0/17 X-Spam-Virus: No X-Envelope-From: Received: from darkcity.gna.ch (darkcity.gna.ch [195.49.47.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 17 Sep 2021 05:41:22 -0700 (PDT) Received: from smtpclient.apple (unknown [IPv6:2a02:1205:502d:fa80:9177:448d:bd53:163b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTPSA id 272921517D81 for ; Fri, 17 Sep 2021 14:41:20 +0200 (CEST) Content-Type: multipart/alternative; boundary="Apple-Mail=_FD630198-2917-4273-8943-40D2664555E1" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Date: Fri, 17 Sep 2021 14:41:19 +0200 References: To: "internals@lists.php.net" In-Reply-To: Message-ID: <485AFBD8-6264-4484-AE57-3167CEC172A6@cschneid.com> X-Mailer: Apple Mail (2.3654.120.0.1.13) Subject: Re: [PHP-DEV] Make strtolower/strtoupper just do ASCII From: cschneid@cschneid.com (Christian Schneider) --Apple-Mail=_FD630198-2917-4273-8943-40D2664555E1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 17.09.2021 um 10:43 schrieb Nikita Popov : > The locale-sensitivity of strtolower() only works with legacy > single-byte encodings and as such is of questionable usefulness even = in > cases where it is not actively harmful. >=20 > That said, I do think this change requires an RFC. I agree that this is a big enough BC to require an RFC and I'd recommend = a phase where strtolower in combination with locales where it *did* make = something useful to show a deprecation warning to allow migration away = from strtolower in those cases. - Chris --Apple-Mail=_FD630198-2917-4273-8943-40D2664555E1--