Hi! > Hi all, > > utf8_decode() and utf8_encode() are not needed and causing problems > than solving.
Why you think they are not needed? Also, the manual says "utf8_encode — Encodes an ISO-8859-1 string to UTF-8". If somebody uses unknown function without even glancing at the first line of the manual, they deserve all the trouble they get. I mean, it's not a PhD-level course, it's a single line to read, and not that long one either, just 6 words. Many beer labels provide more reading material :) So, I'm not sure we need to spend time on this. Yes, it duplicates iconv and recode. So what? It hurts no one. > https://wiki.php.net/rfc/remove_utf_8_decode_encode > > Proposal > - Document deprecation them now > - Remove them from 7.2 RFC says "7.1 - Remove utf8_decode() and utf8_encode()". > I think only few users are using and they shouldn't have problem using > mbstring/iconv/intl functions. I would like to see some justification for this - was any research performed on how many users use them? -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php