Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127817 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id C1FDF1A00BC for ; Tue, 1 Jul 2025 10:02:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751364026; bh=ArZpiqMn2GPgkP4t/mZfNx6/hov5w/GkzBol0R/o/VA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=COPd8udLKmm6o8A5xPtTNxhqoZqaqRoo7npiWYFWF4+jhYwjGzEy7QPjShHJh6z6Y uLp21uEta5hP0dVhUa8p3qgvfpSauK1V+3kZU/h96hHgsVowmJ/EVm/YGPSlRYrp8M LatZs31InmXKvWKdEj2TGO03AQX6IFm4g/EUJ9Xs+a9xKqMMN2Km6Ljy3KhZjLFlvb p6MXuxeeziFyCBKLRzePm3/qxu09zRgSAQbDmvS3EkNZ4DgTj+/Cc2vFGhy9lOa5z3 X8V7DS6nJWmqpfkEs1ifwH45tdA+5ZISYt2t11/ejc6oacpFq/PsnPH945zqK4AbWK TFJB6Hg+BWzSg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BB0E0180041 for ; Tue, 1 Jul 2025 10:00:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: *** X-Spam-Status: No, score=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) (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, 1 Jul 2025 10:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751364137; bh=ArZpiqMn2GPgkP4t/mZfNx6/hov5w/GkzBol0R/o/VA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=OjpSl6AgrnMfPoQZ7cuzXoGiv3LpR86LbNRFe/kscg4aDxeNRGCnwWn7FZ6BUynho vju+pEgtbHewBnXJzR0Yv7um0PxwLQ1Qk76x3igno0c75ybQ7zGl+DpzcjhPM1Flez U89EGcjdmo9mmkOoB/mLIHymQAwRzsH7dtemo3sMYZ8R9QDCC3w2ZIchMXnsXAZ2Pb x3ZLDiXRmXMdHQc3PJbHFj7iPfOu3rVJxOFW1RgR4Eb82vjapsDcaL7UUwGJCfl9W5 meMBTs4Mn7YGoM6m0XIAyhoRbcql+CnyAnQ2cUpVMM/Scy5/cIm6nxHFfUfCLz2EZA Nff7Znx41zlkw== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id DF69F10C05F; Tue, 01 Jul 2025 11:02:16 +0100 (BST) Date: Tue, 1 Jul 2025 11:02:16 +0100 (BST) To: youkidearitai cc: php internals Subject: Re: [PHP-DEV][Voting] Add locale for case insensitive grapheme functions In-Reply-To: Message-ID: <3732bd23-8794-091d-60c8-2c3ff34eb91d@php.net> References: <0a83f302-19ca-e058-3964-e818f0435b6b@php.net> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1535805344-1751364136=:42779" From: derick@php.net (Derick Rethans) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1535805344-1751364136=:42779 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 30 Jun 2025, youkidearitai wrote: > 2025=E5=B9=B46=E6=9C=8830=E6=97=A5(=E6=9C=88) 18:49 Derick Rethans : > > > > On Mon, 30 Jun 2025, youkidearitai wrote: > > > > > I have just started add locale for grapheme_* functions.=20 > > > https://wiki.php.net/rfc/grapheme_add_locale_for_case_insensitive > > > > > > Voting end is 2025-07-15 00:00:00 GMT. > > > > I have voted no for now, as I don't think the RFC explains a various=20 > > amount of situations: > > > > - How are locale string handled that don't exist (exception? silently > > ignored?) > > - What range of locales are allowed? Where would this list come from? > > - How do fallbacks of locales work? > > - Are locale variants handled? > > - Is it really wise to use strings for locales? > > - How are locale strenghts handled, such as the > > primary/secondary/tertiary modes of ICU =E2=80=94 these influence the > > matchy-ness of characters. > > > > For all these situations, there should also be tests, but that's an > > implementation detail. >=20 > Thanks for feedback. > I got it. >=20 > However, Why didn't you take part in the under discussion phase? > I would like to improve the compatibility of PHP's Unicode. I thought I had, but you're right =E2=80=94 that was on a different thread = about=20 str_icontains. cheers, Derick --8323329-1535805344-1751364136=:42779--