PHP: How to get rid of non-UTF8 characters in RSS feeds?

I have some php code that reads RSS feeds from multiple wordpress websites, some of the feeds are using a different encoding than UTF-8 so i am getting the usual strange characters like ÃÃ

The problem is utf-8_encode isn’t getting rid of any of it, the database is also in utf-8 but the problem still persists.

Any ideas?

Read more here: PHP: How to get rid of non-UTF8 characters in RSS feeds?

Leave a Reply

Your email address will not be published. Required fields are marked *