title: jar java program encoded
body: <p>I have made a small java program in netbeans that's read a text file. When I run the program in my netbeans, everything goes fine. So I made an executable jar of my program, but when I run that jar I get wired characters when the program read the text file.</p>
  
  <p>For example:
  I get "CÃ©leste" but it has to be Céleste.</p>
  
  <p>That's my code to read the file:</p>
  
  <pre><code>private void readFWFile(File file){
      try {
          FileReader fr = new FileReader(file); 
          BufferedReader br = new BufferedReader(fr); 
          String ligne; 
          while((ligne = br.readLine()) != null) { 
              System.out.println(ligne);
          } 
  
          fr.close();
      } catch (IOException ex) {
          Logger.getLogger(FWFileReader.class.getName()).log(Level.SEVERE, null, ex);
      }
  }
  </code></pre>