I'm dedicated agile security architect/system architect/developer with specialty of open source framework.
Since Java 7 UTF-8 as a constant has been introduced with java.nio.charset.StandardCharsets
java.nio.charset.StandardCharsets
Example
new LineNumberReader(new InputStreamReader(new FileInputStream("foo.ini"), StandardCharsets.UTF_8));
Note: Only a member of this blog may post a comment.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.