How to fix “Bad URI (is not URI?)”

This URL contains special characters, which Ruby can’t handle: URI.parse ‘http://www.yr.no/sted/Finland/Västra_Finland/Askainen/varsel.xml’ URI::InvalidURIError: bad URI(is not URI?): http://www.yr.no/sted/Finland/Västra_Finland/Askainen/varsel.xml 3 from /usr/local/lib/ruby/1.8/uri/common.rb:436:in … Continue reading How to fix “Bad URI (is not URI?)”