Re: [RFC][DISCUSSION] Remove utf8_decode() and utf8_encode()

From: Date: Mon, 15 Aug 2016 22:00:52 +0000
Subject: Re: [RFC][DISCUSSION] Remove utf8_decode() and utf8_encode()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-95216@lists.php.net to get a copy of this message
Hi all, On Mon, Aug 15, 2016 at 12:17 PM, Yasuo Ohgaki <yohgaki@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 yohgaki@ohgaki.net

« previous php.internals (#95216) next »