Form POST data using non-ASCII characters are garbled on JBoss

Solution Verified - Updated -

Issue

  • When a HTML page submits a form containing non-ASCII characters, the data is turned into garbge when passed to the application.
  • We have an application that do an HTTP POST call to a java webservice the service returns a string that contains the custom separator § that is encoded in wrong way.How can we get the string encoded with the correct separator § ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
  • Red Hat JBoss Enterprise Web Server (EWS)
    • 2.0.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.