title: Arabic Encoding With windows
body: <p>i am trying to write a CSV file include arabic data using java as </p>
  
  <pre><code>PrintWriter out = new PrintWriter("file.csv", "UTF8");
  </code></pre>
  
  <p>and the when i open the file in Linux machine , the Arabic displayed fine but it doesn't work with windows machine. </p>
  
  <p>and when set encoding to be "Cp1256" as </p>
  
  <pre><code> PrintWriter out = new PrintWriter("file.csv", "Cp1256");
  </code></pre>
  
  <p>The Arabic is displayed fine with windows xp &amp; window7 but fails with linux and windows vista.</p>
  
  <p>So what is the right encoding that make file works with all OSs ?</p>
  
  <p>Thanks in Advance</p>
  
  <p>Neveen</p>