In my rails app i'mI'm working with rssRSS feeds from all around the world, and some feeds have links that are not in UTF-8, the. The original feed links are out of my control, and in order to use them in other parts of the app, they need to be in UTF-8.
tl;dr: how do iHow can I detect encoding and convert to UTF-8
also this is in ruby (on rails)?