KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I encode URL query parameter values? I need to replace spaces with %20 , accents, non-ASCII characters etc. I tried to use URLEncoder but it also encodes / character and if I give a string encoded with URLEncoder to the URL constructor I get a MalformedURLException (no protocol).
Tags (comma-separated)
Save Edits
Cancel