I have a webservice done on java 7, running on Tomcat 7, Linux Centos / MySql. When updating to JDK 8, the XML that my application sends to the clients (response), have changed the codification for ISO-8859-1.
Example:
<?xml version="1.0" encoding="ISO-8859-1"?>
When I go back to the jdk7 version, the XML is back to what it was originally in UTF-8.
Example:
<?xml version="1.0" encoding="UTF-8"?>
Porbe with the suggestions of other post:
indicando URIEnconding en los conectores del Tomcat
-DfileEncoding en la JVM. JAVA_OPTS
Filtro del tomcat: setCharacterEncodingFilter
How do I use Java 8 without modifying the encoding of my XML?
Please let me know if you need any additional information to understand the problem.
Thank you!