4 Replies Latest reply on Sep 3, 2009 10:10 PM by jkronegg

    param tag and umlaut

    hapacur

      Hi all!


      I am looking for a way to deal with german umlauts. Take the open18 application for example. For pagination they pass the args via <param name="city" value="#{clientList.client.city}"/> in pages.xml. That does work well, but if you enter something like München then you end up with a wrong encoding on the page. The URL looks correct: ...&city=München&... but the next page displays the umlaut ü rather wrong. Any ideas?


      Thanks in advance!

        • 1. Re: param tag and umlaut
          hapacur

          Just solved my issue. Just add the URIEncoding="UTF-8" attribute to the connector tag in server.xml. This works for JBoss AS.

          • 2. Re: param tag and umlaut
            cjacob

            Björn Raupach wrote on Mar 24, 2009 19:28:


            Just solved my issue. Just add the URIEncoding="UTF-8" attribute to the connector tag in server.xml. This works for JBoss AS.


            Hi Björn,


            seems that I face the same problem. However, I can't find a file server.xml anywhere. Can you give me some hint, please?


            Kind regards
            Christian

            • 3. Re: param tag and umlaut
              mkiel

              On JBoss AS 4.2, the file is server/default/deploy/jboss-web.deployer/server.xml, on JBoss AS 5, it's server/default/deploy/jbossweb.sar/server.xml.


              For information on the configuration options, see the documentation of Tomcat on which JBoss Web is based on (not sure about the exact version though).

              • 4. Re: param tag and umlaut
                jkronegg

                Also you may have a look to JBSEAM-4330 about a specific parameter to encode requests in Seam (if your server default encoding is not UTF-8).