title: reading file with accented characters in Java
body: <p>I came across two special characters which seem not to be covered by the <code>ISO-8859-1</code> character set i.e. they don't make it through to my program.</p>
  
  <p>The German <code>ß</code>
  and the Norwegian <code>ø</code></p>
  
  <p>i'm reading the files as follows:</p>
  
  <pre><code>FileInputStream inputFile = new FileInputStream(corpus[i]);
  InputStreamReader ir = new InputStreamReader(inputFile, "ISO-8859-1") ;
  </code></pre>
  
  <p>Is there a way for me to read these characters without having to apply manual replacement as a workaround?</p>
  
  <p>[EDIT]</p>
  
  <p>this is how it looks on screen. Note that i have no problems with other accents e.g. è and the lot...</p>
  
  <p><img src="https://i.stack.imgur.com/Rx9Fq.jpg" alt="enter image description here"></p>