Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127796 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 8EA441A00BC for ; Mon, 30 Jun 2025 09:49:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751276831; bh=+Z1zz502anzpxI9xdNo2M0SMhQdDhegS8XsSjtxvYlo=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=oPUSj5naZPtFgkHSWimN7BVTh0h3fNv1ebA2HiBjO6K0nFvJU26XP6R7RdD3cyitq cRyXGU05m+TklDYHvS75CX0wqruWEzFigFHPcJzrOWnJMtj/WMdhXj2/lCpM78imKG bpe5p9KWxDEdcaM+mjw9mpB9UOSIoOxNL0VYkyCq9g0vO5MhE671Zn+DpJD0sms0fg qVyMToAfd87T0UDJDkBZaSy9/PEjw5ff86zeEjFlJi06B8mqhuoueeUWBQsRU8mrff O8rQkrxsYbRsrxjv8Tnu0+QlN6ydVLhxP5JqZtdT9ELJYVB26CYCkcNd1tkduvqKRi sJkZZ2kV7E96Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0EC9C1801EB for ; Mon, 30 Jun 2025 09:47:11 +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 ; Mon, 30 Jun 2025 09:47:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751276943; bh=+Z1zz502anzpxI9xdNo2M0SMhQdDhegS8XsSjtxvYlo=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=QCk9PLXwuqH6g16QyPbQR1MQrg3PHaNG8awLzgFoyvz02IM4XEbxtuh8z6UwRwGus EO0UAbCrN18tpNA/48gVKUqBo3rwJSsgjjkllyFaH/n8FIPgsuUxk1aPTaTIR2Yjdt +4iGe3yIkfuhqpYn6ZhXZT31r8H0Bzcimgn+5OxxF9KtIklCPKmvyLT8lkkIT8AIT0 jIkZ4A/2XU/Yuy+mV6sAvIMyYFMPfDRrBL6I69lIqyd7LLtGX7LkgpLLR7twm93pSY Olyq2HSPF+DUByiwftgCZnO2qH3Qo7sPbwhWWM3Cmh0TFoYysO+LD8qeiSgiccjbls 2JT2a3tu8Fw8g== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id DADD110C084; Mon, 30 Jun 2025 10:49:02 +0100 (BST) Date: Mon, 30 Jun 2025 10:49:02 +0100 (BST) To: youkidearitai cc: php internals Subject: Re: [PHP-DEV][Voting] Add locale for case insensitive grapheme functions In-Reply-To: Message-ID: <0a83f302-19ca-e058-3964-e818f0435b6b@php.net> References: 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-731444564-1751276942=: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-731444564-1751276942=:42779 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 30 Jun 2025, youkidearitai wrote: > Hi, Internals >=20 > I have just started add locale for grapheme_* functions. > https://wiki.php.net/rfc/grapheme_add_locale_for_case_insensitive >=20 > Voting end is 2025-07-15 00:00:00 GMT. Hi, 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=20 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=20 primary/secondary/tertiary modes of ICU =E2=80=94 these influence the=20 matchy-ness of characters. For all these situations, there should also be tests, but that's an=20 implementation detail. cheers, Derick --=20 https://derickrethans.nl | https://xdebug.org | https://dram.io Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/suppo= rt mastodon: @derickr@phpc.social @xdebug@phpc.social --8323329-731444564-1751276942=:42779--