Tagged: charset

Java 8 – Reading a file as String

There are a lot of examples how to read a file content in Java 8. The most common one is

Use always a charset with String to Byte array transformations and vice versa...