title: Java unable to connect to URL containint an umlaut
body: <p>I seem to be unable to establish a connection to an URL with Java that contains an umlaut.</p>
  
  <p>This is the url I'm trying to access: <a href="http://hakkon-aetterni.at/images/Mitglieder/H%C3%B6ttur.jpg" rel="nofollow">http://hakkon-aetterni.at/images/Mitglieder/Höttur.jpg</a></p>
  
  <p>This is my Java code: </p>
  
  <pre><code>URL newLinkURL = new URL(newLink);
  
  URLConnection uc = newLinkURL.openConnection();
  
  String curFileContentType = uc.getContentType();
  </code></pre>
  
  <p>newLink url is A String containing the URL mentioned above. When trying to connect to this url i get a 500 Error in response.</p>