Perhaps this is an encoding problem?
File . FileOutputStream Writer. , . ( .)
, FileWriter. , , FileWriter , . , , , UTF-8 - .
FileWriter :
Charset utf8 = Charset.forName("UTF-8");
OutputStream os = new FileOutputStream(file);
try {
Writer wr = new OutputStreamWriter(os, utf8);
wr.write("whatever strings you want to write");
wr.close();
} finally {
os.close();
}