I read from a file that may have ANSI or UTF-8 encoding, and by default BufferedWriter(new FileWriter(outFile) saves the file in ANSI. I would like to save it in UTF-8. How could I do that?
Type: Posts; User: efluvio
I read from a file that may have ANSI or UTF-8 encoding, and by default BufferedWriter(new FileWriter(outFile) saves the file in ANSI. I would like to save it in UTF-8. How could I do that?