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

From: Date: Mon, 15 Aug 2016 03:44:21 +0000
Subject: Re: [RFC][DISCUSSION] Remove utf8_decode() and utf8_encode()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-95168@lists.php.net to get a copy of this message
On github utf8_encode have ~500.000 results and utf8_decode have ~400.000. I too guess that 7.2 shouldn't introduces a BC like that. Maybe on 8.0. Currently I guess that it is a good shortcut, but I really don't know if make senses to keep it (utf16 or others are not implemented, only utf8, for other side, utf8 seems to be more common). 2016-08-15 0:17 GMT-03:00 Yasuo Ohgaki <yohgaki@ohgaki.net>: > 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? > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- David Rodrigues

« previous php.internals (#95168) next »