title: Java reading a text file by character - unicode 254 and 255 appears out of nowhere
body: <p>From the code below i read a text file that contains a character 'a' (unicode 97) </p>
  
  <pre><code>int ini ; 
      // Buffered Reader Text file read per character
      while((ini=jer.read())!=(-1)){
          char inp = (char)ini;
          System.out.println(inp);
          if (listahan.containsKey(inp)) {
                  listahan.put(inp,listahan.get(inp) + 1);
              } else {
                  listahan.put(inp, 1);
              }
      }
  // ENHANCED FOR LOOP FOR DISPLAYING IN CONSOLE
  for (Map.Entry&lt;Character, Integer&gt; e : listahan.entrySet()){
      System.out.printf("%1d.) %-15s : %-3d%n", ctr++, e.getKey(), e.getValue());
  
  }
  </code></pre>
  
  <p>the output was :</p>
  
  <pre><code>1.)                 : 1  // (must be a null)
  2.) a               : 1  
  3.) þ               : 1  
  4.) ÿ               : 1  
  </code></pre>
  
  <p>why is the output not like this one?:</p>
  
  <pre><code>1.) a                 :1
  </code></pre>