my problem continues from here utf-8 as output.Currently i am using:
PrintWriter bout = new java.io.PrintWriter(filename,"UTF-8");
and it still is not working .as @dacwe suggested,i used command line with
-Dfile.encoding=UTF-8
to execute my .jar file and it worked,where the desired utf-8 file output was created(no alphabets prob).So i am thinking this workaround like how eclipse.exe works with .ini file in eclipse directory.can i wrap my java prog into exe and have the program to include the .ini file?or can someone suggest any workable idea?my program read csv file (from opencsv) and output as a text in UTF-8.