title: display utf-8 persian text use weka text categorization code
body: <p>I'm new in java. I want to convert my text file in ARFF format but my texts is Persian and NetBeans can not display these in a good format (utf-8 format )
  in this topic:</p>
  
  <p><a href="http://weka.wikispaces.com/Text+categorization+with+Weka#UTF-8" rel="nofollow">http://weka.wikispaces.com/Text+categorization+with+Weka#UTF-8</a></p>
  
  <p>said that i should run this:</p>
  
  <pre><code>java -Dfile.encoding=utf-8 -classpath ...
  </code></pre>
  
  <p>but i want to use this command in my code. I do not know how should i run java in command.
  Can anyone tell me how should i do this  line in my code?</p>
  
  <p>thank you in advance</p>