Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124870 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 qa.php.net (Postfix) with ESMTPS id 5701D1A00B7 for ; Sun, 11 Aug 2024 18:10:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1723399929; bh=b1eiijKLEqt0YfPV+xxdC8XMql8e5i8+mhQp5Aass6k=; h=Date:From:To:Subject:References:In-Reply-To:From; b=bqcRMg8uzEsUEsQQlCPxlJ4wC7RhGL5UkqecTAx7KunHqClJeWMkd+7ERjY0YQl2I F6PlrnNN+YfWpYIaU0ms+jJNWoeAM7A1ZYF5oCtPMqLtjyatF8/bTouaA4mgfgy5uU SxRHqfH9hFOrOi3JtocjXXU8t+SsZImp0tXMn13WDXEXitwI2Dsw2l+GUb5A7vqUqR jM4HFLp4hIUK9j8DRGTWMPKhfHi1o0rmujQfe7bmWchHfREkVG0lRVQLD5+HWQsOCK 2yBPQg6BSMO7zKzIscYMdB3HQdiy9AVY+c0fDvyyABbKvJbHQWw6+99/kR4imM+ist 4C9nHwmSKbZ2Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9F6F518003B for ; Sun, 11 Aug 2024 18:12:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,DMARC_MISSING, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mint.phcomp.co.uk (freshmint.phcomp.co.uk [78.32.209.33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 11 Aug 2024 18:12:07 +0000 (UTC) Received: from addw by mint.phcomp.co.uk with local (Exim 4.96) (envelope-from ) id 1sdD1H-007JcU-1s for internals@lists.php.net; Sun, 11 Aug 2024 19:10:19 +0100 Date: Sun, 11 Aug 2024 19:10:19 +0100 To: internals@lists.php.net Subject: Re: [PHP-DEV][Discussion] Should All String Functions Become Multi-Byte Safe? Message-ID: Mail-Followup-To: internals@lists.php.net References: <8a60a5d76bf3bbdda821160c6141b45914a33b98.camel@ageofdream.com> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Parliament Hill Computers Ltd From: addw@phcomp.co.uk (Alain D D Williams) On Mon, Aug 12, 2024 at 02:03:08AM +0900, youkidearitai wrote: > 2024年8月12日(月) 1:42 Anton Smirnov : > I'm confused what is "multibyte safe". I think that he means that the bytes are only valid UTF-8 sequences. This would mean that some byte sequences would not be allowed. -1 to this idea. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 https://www.phcomp.co.uk/ Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html #include