How to globally set the uri-encoding to UTF-8 in JBoss EAP6 ?

Solution Verified - Updated -

Issue

  • Is there a way to globally set the URI encoding to UTF-8 so that special characters like Chinese or Japanese characters are printed properly.
  • Is there any other way to set the URI_ENCODING property other than JBoss system property?
  • How to enforce UTF-8 character encoding in a servlet?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.