This content has been marked as final.
Show 2 replies
-
1. Re: chatset UTF-8 WILDFLY 17
ehugonnet Jun 24, 2019 3:21 AM (in response to gcabrera2)Run the following cli operation so that UTF-8 will become trhe default encoding.
/subsystem=undertow/servlet-container=default:write-attribute(name="default-encoding" value="utf-8")
please check alos that your database is using UTF-8 ENCODING.
-
2. Re: chatset UTF-8 WILDFLY 17
zhurlik Jun 24, 2019 3:29 AM (in response to gcabrera2)Hi,
There are 2 places that should be checked:
1. web - you have to read about either HttpFilter or Wildfly system variables to be able to set default encoding
That's needed for getting a correct string via http
2. jdbc - when you will see that after http call you are having the correct string, you need to double check that your data-source in the standalone.xml has correct parameters/jdbc-url, it depends on your database
That's needed for sending a correct string to dbThanks,
Vlad