2 Replies Latest reply on Feb 6, 2009 9:37 AM by Michal Glowacki

    Data encoding problems

    Georges Berscheid Newbie


      I have a simple servlet that used to run on JBoss AS 4.0.5 which is deployed on JBoss AS 4.2.0.CR1 (using JBossWeb 2.0 instead of Tomcat) and now all data from posted forms are UTF-8 encoded:

      <form action="http://localhost:8080/post" method="post" name="form1">
       <textarea name="someData" cols="50" rows="12" />

      If I enter the Äöèóêß? into the text area, request.getParameter("someData") returns Äöèóê߀.
      How can I make JBossWeb use ISO-8859-1 encoding? It used to work with JBoss AS 4.0.5.

      Thanks a lot,