Reputation: 26089
I have a feed: https://www.facebook.com/feeds/page.php?format=rss20&id=172360026392
With a title for example:
No nie do wiary! Maraton Warszawski & #x2013; ki
The space between & and # is intentional, in rss there is no space. How to convert the string to pure UTF-8 so that & #x2013; will become "-" character?
Upvotes: 0
Views: 521
Reputation: 793
Use html_entity_decode function: http://www.php.net/manual/en/function.html-entity-decode.php
Upvotes: 1