Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

URI.decode_uri_component

decode_uri_component(str, enc=Encoding::UTF_8)

Like URI.decode_www_form_component, except that '+' is preserved.