I am using the JDK 1.7 on Linux server. I have installed apache 6.0.35 and use the code
Writer w = new OutputStreamWriter(os,"Unicode");
to write a file in unicode format.
But the file is getting generated in unicode big endian format. How do I select a different output format?