title: Converting from UTF8 To ASCII in Java
body: <p>I have written a code to read data from a text file. I would like to know how to convert from UTF8 to ASCII after loading the data from the file. Below is part of the code that I have written but need to find the way to do the conversion. As I said in my previous questions I'm very new to Java, please give me a hand.</p>
  
  <pre><code>public static List&lt;String&gt; readFile(String filename) throws Exception {
      String line = null;
      List&lt;String&gt; records = new ArrayList&lt;String&gt;();
  
  
      BufferedReader bufferedReader = new BufferedReader(new FileReader(filename));
  
  
  
      while ((line = bufferedReader.readLine()) != null) {
          records.add(line.trim());
      }
  
  
      bufferedReader.close();
      return records;
  }
  </code></pre>