Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122321 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 34013 invoked from network); 7 Feb 2024 02:43:49 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 7 Feb 2024 02:43:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1707273881; bh=iee19MyvqvYs4a1WMU3SMJGkiwkDam5P4ybbDMqJiwQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=hRExiEMTHdDkoiR9mMInKxPcbAbX5ZXBU/hWNpFS8hjZNH97Y7eGeUcdJxqJ6hWIk SRUpAS/bgfC+lmr0j/t6JIfLAGaH6yTos+8NqWVIP7pOV7SYVi95qbPHF5qTFO0kxi T/uRgimJo9hLfQwBofZgieF1u/uypG3nQ66M/P9ii8oMIzddPdnlPgfAsYf+y6X1j7 AJnLZHfDwq1ELyFzEW5a9soKNF5/OfldDfSAFKUlNEYTfMBarI8PeD+b1aQpsgofex NXW+1a5RR19G/04634ARGPwjHzLQFOfkuDuH5Trq8vIDC2dEkI8H3SsIwabn1NuPTN o2Rn2aoXpo0Mw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9C155180061 for ; Tue, 6 Feb 2024 18:44:39 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from forward502c.mail.yandex.net (forward502c.mail.yandex.net [178.154.239.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 6 Feb 2024 18:44:38 -0800 (PST) Received: from mail-nwsmtp-smtp-production-main-44.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-44.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:440b:0:640:fa3a:0]) by forward502c.mail.yandex.net (Yandex) with ESMTPS id 72E1F611E5 for ; Wed, 7 Feb 2024 05:43:43 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-44.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id ghWF3RK3WCg0-KuHS3xCa; Wed, 07 Feb 2024 05:43:42 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=php.watch; s=mail; t=1707273822; bh=iee19MyvqvYs4a1WMU3SMJGkiwkDam5P4ybbDMqJiwQ=; h=To:Subject:Message-ID:References:Date:From:In-Reply-To:Cc; b=hnprm9MVyyWvJB3VUIDDC1w5FRaxLGllOLMrouAJRSg94TVV6DGTczRoyJRJQCEY3 SntQNA14qJ1Chozi5q0gVbi6NFURJLL+OaDUAPDqHM4YwUkpvxLhc9boBPjQsRZaAP Y65E5OcLm2VFBW4XNWVtGzPrMfDW0ZE9byw8+pRU= Authentication-Results: mail-nwsmtp-smtp-production-main-44.sas.yp-c.yandex.net; dkim=pass header.i=@php.watch Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-51147d0abd1so155499e87.1 for ; Tue, 06 Feb 2024 18:43:42 -0800 (PST) X-Gm-Message-State: AOJu0Yz0dqwrTTc6W7/E48gBMKIo36zbXUWVwCzsVuil9etC7fE3DrcP y3iBneO2E2r00ZS8bj5BPxu3+YAoio3PVHQp4zXKh2n+2t5I8YTgrAaIsMTfPQveZa16sjSGQVf zinfVi6oUMBRMpI50BEvPNcZFx8s= X-Google-Smtp-Source: AGHT+IHowrK8VrTX6Xhw/W3Vvc3PQTNPNAe/rNMqvgiw/zGNqQej2GC80owLYu2Kr2vak97znAh7VrH9rAs4egg/yio= X-Received: by 2002:ac2:562d:0:b0:511:4dac:f1ad with SMTP id b13-20020ac2562d000000b005114dacf1admr2775964lff.27.1707273822312; Tue, 06 Feb 2024 18:43:42 -0800 (PST) MIME-Version: 1.0 References: <29b0a205-8903-4ae8-b1e4-45db846fee7f@wikimedia.org> In-Reply-To: <29b0a205-8903-4ae8-b1e4-45db846fee7f@wikimedia.org> Date: Wed, 7 Feb 2024 09:43:30 +0700 X-Gmail-Original-Message-ID: Message-ID: To: Tim Starling Cc: youkidearitai , php internals Content-Type: multipart/alternative; boundary="000000000000b69e1c0610c1a9a6" Subject: Re: [PHP-DEV][VOTE][RFC] mb_ucfirst and mb_lcfirst functions From: ayesh@php.watch (Ayesh Karunaratne) --000000000000b69e1c0610c1a9a6 Content-Type: text/plain; charset="UTF-8" > > I see. I'll change mb_ucfirst using titlecase. > > Per my comments a month ago on the GitHub issue , I think it is much > better to use title case for mb_ucfirst() than to use upper case, > since conversion of the first character to upper case has the effect > of corrupting text in the Georgian script, and initial lower-case > ligatures are converted to a form which appears like two upper case > letters. So I'm pleased to see this change to the PR. > > I would appreciate it if the RFC could also be updated to include this > detail, since my vote depends on whether title case or upper case will > be used. > > -- Tim Starling > Hi Tim, Now that the RFC is restarted, could you mention some examples in Georgian that might be good test cases? I was thinking there might be some good test cases in Turkish, but couldn't find any. The RFC has examples (https://github.com/php/php-src/pull/13161) in Vietnamese, but they are correct for both "uppercase first character" and titlecase conversions. Thank you. > --000000000000b69e1c0610c1a9a6--