Is there a way to tell JBoss to globally use UTF-8 encoding to HttpServlet requests?
Issue
-
Currently, if the encoding is not set on an HttpServletRequest, it defaults to iso-8859-1. Is there a way to set the default to utf-8 without having to call request.setCharacterEncoding("UTF-8")?
-
Is there any other way to set the URI_ENCODING property other than JBoss system property?
Environment
- JBoss Enterprise Application Platform (EAP)
- 4.3.x
- 5.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.