Re: What should we do with utf8_encode and utf8_decode?
From: Alexandru Pătrănescu Date: Mon, 22 Mar 2021 17:38:28 +0000 Subject: Re: What should we do with utf8_encode and utf8_decode? References: 1 2 3 4 5 6 7 8 9 Groups: php.internals Request: Send a blank email to internals+get-113695@lists.php.net to get a copy of this message
On Mon, Mar 22, 2021 at 7:24 PM Alexandru Pătrănescu <drealecs@gmail.com> wrote: > > There could have been better ways to fix it. > json_encode / json_decode would have worked just the same. > > Nope, strings in a json object must be UTF-8. As Rowan mentioned, base64_encode would have worked. But that means one quarter of the available max column space would be lost as a downside. > > Regards, > Alex >
Thread (40 messages)
| « previous | php.internals (#113695) | next » |
|---|