[Solved] read special characters from a file and write in another file using java [duplicate]


BufferedWriter bw = new BufferedWriter(
        new OutputStreamWriter(
            new FileOutputStream(new File("path of the output file")),
            "UTF-8"));

Or in java 7 use Files.copy.

4

solved read special characters from a file and write in another file using java [duplicate]