I am creating a file
File file = new File("myFile.txt");
FileWriterWithEncoding writer;
writer = new FileWriterWithEncoding(file,"UTF-8", true);
PrintWriter printer = new PrintWriter(writer);
printer.write(myString)
myString contains the word VÄTER
When I open this file with notepad I have the word :VÄTER
And if I open the file with notepad++ I have : VÄTER
Is there a way to create the file in Java in order that this word can be well read (VÄTER) in notepad?
Thanks