Re: [RFC][DISCUSSION] Remove utf8_decode() and utf8_encode()
| From: | Pierre Joye | Date: | Fri, 19 Aug 2016 15:12:05 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Remove utf8_decode() and utf8_encode() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-95315@lists.php.net to get a copy of this message | ||
On Aug 15, 2016 10:18 AM, "Yasuo Ohgaki" <yohgaki@ohgaki.net> wrote:
>
> Hi all,
>
> utf8_decode() and utf8_encode() are not needed and causing problems
> than solving.
>
> https://wiki.php.net/rfc/remove_utf_8_decode_encode
>
> Proposal
> - Document deprecation them now
> - Remove them from 7.2
>
> I think only few users are using and they shouldn't have problem using
> mbstring/iconv/intl functions.
>
> Any comments?
Yes, one, sadly short:
Absolutely no go.
I do not see a remotely valid reason to remove these functions which are
much more used than what this RFC or thread say.
I am against removing them, now or in 8.x. this is the kind of things that
makes migrations painful. They are broken on some cases? Fix them maybe?