The string literals 'UTF-8' and 'ISO-8859-1' (a horrible encoding) identifying the charset names that were used, they were replaced by the constants as defined in java.nio.charset.StandardCharsets.X.name(). From this point the software only runs with java 7 (was 6 before). Hope that will be OK.