Is there a good library for Ruby 1.9.2 that handles IRIs (URLs with special character like ü)

I'm looking for a library or extension that allows ruby ​​to work with IRIs , which are URLs that contain special characters like Umlauts (ü, ö and friends). I am trying to create a webscraper and that seems to be the only thing that worries me.

I've tried some quick hacks to solve the problem, but I'd be better off if there was a tried and tested library to accomplish the same thing.

Thanks for helping me!



source to share

1 answer

Addressable is (mostly) an API-compatible replacement for the standard library URI

that supports other IRIs.



All Articles