Use StandardCharsets instead of a String constant