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

    URL Encoded Characters with j2sdk 1.4.2

    qjafcunuas

      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

        • 1. Re: URL Encoded Characters with j2sdk 1.4.2

          Hi, Bruno,

          things you may try:

          1. Put export LANG=fr_FR (de_DE or your country equivalent on the beginning of your $JBOSS_HOME/bin/run.sh
          2. Put the equivalent of
          LANG="de_DE.UTF-8"
          SUPPORTED="de_DE.UTF-8:de_DE:de"
          in your /etc/sysconfig/i18n and
          #source /etc/sysconfig/i18n

          Best regards
          Jan Prill