title: FileOutputStream set encoding to utf-8
body: <p>a want to set a file to utf-8</p>
  
  <p>the FileOutputStream takes just two parameter</p>
  
  <p>my code is </p>
  
  <pre><code> PrintWriter kitaba1 = null;
  
      try {
         kitaba1 = new PrintWriter(new FileOutputStream(new File(ismmilaf), true ));
  
      } catch (FileNotFoundException ex) {
          ex.printStackTrace();
      }
  
      //kitaba1.println(moarif1);
      kitaba1.close();
  </code></pre>