I have my code to check encoding table:
System.out.println("enc. table: "+System.getProperty("file.encoding") +
"enc. table: "+new java.io.OutputStreamWriter(new java.io.ByteArrayOutputStream()).getEncoding() +
"enc. table:" + java.nio.charset.Charset.defaultCharset().name());
When I start my from windows I get text file with cp1250, when I start from my embedded system I get text file with cp852. In windows I have set code page 852. In Eclipse I have set cp852. Some solution?