I am using WildFly9, but it seems support English encoding only! Browser content of Chinese characters: '我们', changes to '₩ネム¦ᄏᆲ' in server side!
I am looking for configuration help or even an undertow patch ! Can anyone help?Great thanks!
I am using WildFly9, but it seems support English encoding only! Browser content of Chinese characters: '我们', changes to '₩ネム¦ᄏᆲ' in server side!
I am looking for configuration help or even an undertow patch ! Can anyone help?Great thanks!
You should set Undertow default encoding to UTF-8 (or maybe just your deployment). Using the jboss-cli this should do the trick for the whole server:
/subsystem=undertow/servlet-container=default:write-attribute(name=default-encoding,value=UTF-8)