Re: [Discussion] Should All String Functions Become Multi-Byte Safe?

From: Date: Mon, 12 Aug 2024 10:33:03 +0000
Subject: Re: [Discussion] Should All String Functions Become Multi-Byte Safe?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-124885@lists.php.net to get a copy of this message
Hi, Currently, PHP strings are binary safe (thus can store any encoding). I generally think of PHP strings as being an array of bytes vs. a "string" you are familiar with in other languages. The name is unfortunate in that regard, but working with them is straightforward (imagine having an actual array of bytes in PHP and trying to work on them). Robert Landers Software Engineer Utrecht NL On Mon, Aug 12, 2024 at 11:48 AM <danielhaber@gmail.com> wrote: > After reading Rowan's last message, it feels appropriate to link to this: > > "The Absolute Minimum Every Software Developer Must Know About Unicode in > 2023 (Still No Excuses!)" > > https://tonsky.me/blog/unicode/ > > >

« previous php.internals (#124885) next »