title: URLEncoder.encode() and a whitespace?
body: <p>I've got a resource on my server named:</p>
  
  <pre><code>some image.png
  </code></pre>
  
  <p>There's a space in the name. When I type the url into the browser (chrome), it's transforming the space into %20:</p>
  
  <pre><code>some%20.png
  </code></pre>
  
  <p>WHen I use URLEncoder.encode("some image.png") from my application, I'm getting:</p>
  
  <pre><code>some+image.png
  </code></pre>
  
  <p>which causes a 404. What's the right way to encode?</p>