title: Read unicode text file with streams?
body: <p>So I am trying to read textual data from the file and I am messing with Unicode characters, but it seems to not be able to parse Unicode characters properly. I am not entirely sure what I am doing wrong as I recently started learning more on Java so I'd appreciate if anyone could point out possible bugs or what is that causes this behavior.</p>
  
  <p>Code:</p>
  
  <pre><code>BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("C:\\hello.txt"), "UTF8"));
              char[] buffer = new char[128];
              int len = br.read(buffer);
  
              for (int i = 0; i &lt; len; i++) {
                  System.out.print(buffer[i]);
              }
  </code></pre>
  
  <p>The characters inside of the file are: <strong>Øßà</strong></p>