title: Adding special characters while writing into a java file but not visible everywhere
body: <p>I am writing into a java file through </p>
  
  <pre><code>               FileWriter fstream = new FileWriter("someFile.java");
                  BufferedWriter out = new BufferedWriter(fstream);
                  out.write(strContents);
                  // Close the output stream
                  out.close();
  </code></pre>
  
  <p>but after writing I found it appended some special characters in shape of box like [], but those special characters are only visible in specific text editor like EditPlus.</p>
  
  <p>How to avoid those special characters while writing or is it specific to some editors only.</p>