Hi,
I'm running a legacy project on Wildfly 15. The projects resources are encoded in ISO-8859-15 (cannot be changed). The HTML's (generated from JSPs) meta tags declare content type like
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
Moreover I set the following definition in standalone-full.xml:
<server name="default-server">
<http-listener name="default" socket-binding="http" url-charset="ISO-8859-15" redirect-socket="https" enable-http2="true"/>
<https-listener name="https" socket-binding="https" url-charset="ISO-8859-15" security-realm="ApplicationRealm" enable-http2="true"/>
...
<servlet-container name="default" default-encoding="ISO-8859-15" use-listener-encoding="true">
Still I see UTF-8 as content-type in the response headers served by Wildfly.
Problems arise for example with jQuery resources (e.g. datepicker) where german umlauts are not displayed correctly.
What am I missing out? What is the correct way to set the encodings for Wildfly to be ISO-8859-15?
Best regards
Mark.