title: URLEncoder not able to translate space character
body: <p>I am expecting</p>
  
  <pre><code>System.out.println(java.net.URLEncoder.encode("Hello World", "UTF-8"));
  </code></pre>
  
  <p>to output:</p>
  
  <p><code>Hello%20World</code></p>
  
  <p>(20 is ASCII Hex code for space)</p>
  
  <p>However, what I get is:</p>
  
  <p><code>Hello+World</code></p>
  
  <p>Am I using the wrong method? What is the correct method I should be using?</p>