Hi all,

On Mon, Aug 15, 2016 at 12:17 PM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:
> 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?

Many people concern about BC. It's reasonable.
How about document deprecation of them now? And not mention when they
will be removed. It may exist for long, but users are better to use generic
encoding conversion functions.

The additional note for them might be

utf8_encode/decode() is deprecated in favor of other encoding
conversion features. e.g. iconv(), UConverter class and
mb_convert_encoding().


Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to