decode and encode component is intended to be used in parts of the
query. Take the following url for example:
http://www.google.com/search?q=fox%26hound
|___________| <
component
The bigggest difference between encode and encodeComponent is what
special chars it will encode. Notice above %26, which is an
ampersand. This will only be encoded with encodeComponent, not
encode.