Re: What should we do with utf8_encode and utf8_decode?

From: Date: Mon, 22 Mar 2021 13:13:50 +0000
Subject: Re: What should we do with utf8_encode and utf8_decode?
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-113667@lists.php.net to get a copy of this message
On Mon, Mar 22, 2021 at 6:12 AM Rowan Tommins <rowan.collins@gmail.com>
wrote:
> I realise you can't speak for anyone else, but as a point of interest,
> would you be OK with a polyfill having a requirement on ext/mbstring or
> ext/iconv, or would you have a strong preference for a replacement built
> into the core (i.e. guaranteed available without any optional packages)?
>

Can you clarify what *YOU* mean by a polyfill?  Because you're talking
about dependence on iconv/mbstring/icu which implies you want a polyfill
that does something other than what the original utf8_en/decode() functions
do, and those functions certainly do not need external dependencies.
They're really just not that complex.

-Sara


Thread (40 messages)

« previous php.internals (#113667) next »