http://www.w3schools.com/tags/ref_urlencode.asp
Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid
Here you go:
When are you supposed to use escape instead of encodeURI / encodeURIComponent?
This is the best explanation I found and was helpful to me.