title: error encoding text. unable to encode text using charset windows-1256 jgrasp
body: <p>when ever i want to save the file, i receive this message: error encoding text. unable to encode text using charset windows-1256. First bad character is at line 3 column 1.</p>
  
  <p>simply this is my code: </p>
  
  <pre><code>import java.util.*;
  public class test {
  static Scanner read = new Scanner (System.in);
  public static void main (String [] args){
  
  }}
  </code></pre>
  
  <h1>Solution :</h1>
  
  <p>the problem was that i had another opened class with invalid character written in a comment</p>