Kohei Nozaki's blog 

How to set default-encoding of Undertow


Posted on Sunday Jan 11, 2015 at 09:57AM in Technology


Launch jboss-cli and connect to WildFly, then enter following and reload:

/subsystem=undertow/servlet-container=default:write-attribute(name=default-encoding,value=UTF-8)
This may solves corruption of multi-byte characters (such as "????") like JSP on Japanese environment or contents. この設定で日本語環境におけるJSPの文字化け等を防げる場合があります.



Comments:

Thanks so much for this information, I searched everywhere to fined a solution for this and you solved my problem.

Thanks.

Posted by Ahmed on December 03, 2015 at 07:18 AM JST #


Leave a Comment

HTML Syntax: NOT allowed