1 Reply Latest reply on Aug 25, 2004 6:25 PM by janprill

    URL Encoded Characters with j2sdk 1.4.2

    Lamouret Newbie

      Hi,
      I'm using Jboss3.2.3.
      My trouble appears with j2sdk1.4.2 on linux system. On linux with j2sdk1.4.1, i've no trouble. On windows system, i've no trouble.

      Here is my jsp file :
      <%
      String param = request.getParameter("param");
      System.out.println(sParam);
      %>


      When i call this page with an accentuated character (like http://hostname/toto.jsp?param=azé), the "System.out.println" print the ? character instead of é :
      2004-08-25 15:03:29,388 INFO [STDOUT] az?

      I've put -Dfile.encoding=UTF-8 directive in JAVA_OPTS, but it doesn't solve my trouble.

      Can somebody help me ?


      tia
      Bruno