3 Replies Latest reply on Nov 14, 2010 11:58 AM by alniks

    pages.xml navigation encoding problem

      I have some cyrillic symbols is redirect view-id in pages.xml.




                  <rule if-outcome="adminpanel">
                      <redirect view-id="/администраторски-панел.xhtml"/>
                  </rule>    




      they go out like this in my browser.


      http://localhost/04%3C8=8AB@0B%3E@A:8-?0=5;.seam?cid=5



      File encoding is UTF-8.
      Browser encoding is UTF-8.


      I have set this in components.xml:



           <web:character-encoding-filter      encoding="UTF-8" 
                               override-client="true" 
                                  url-pattern="*.seam"/>



      I have set this in server.xml:



      useBodyEncodingForURI="true" URIEncoding="UTF-8"




      Where could the problem be?


        • 1. Re: pages.xml navigation encoding problem
          kapitanpetko

          Защо си усложняваш живота с кирилица :)


          Not sure where the problem is, but I had similar problems when trying to pass a non-ASCII page parameter. Most probably not
          supported. Put breakpoints in RedirectNavigationHandler and Pages to see where the encoding gets messed up.


          HTH


          • 2. Re: pages.xml navigation encoding problem
            jkronegg

            If you are dealing about special characters in page parameters and/or URL, you should add the uri-encoding="ISO-8859-1" to Seam Manager properties in your components.xml, see JBSEAM-4330:


            <core:manager uri-encoding="ISO-8859-1" ...>


            • 3. Re: pages.xml navigation encoding problem
              alniks

              Julien Kronegg wrote on Jul 30, 2009 11:06:


              If you are dealing about special characters in page parameters and/or URL, you should add the uri-encoding="ISO-8859-1" to Seam Manager properties in your components.xml, see JBSEAM-4330:

              <core:manager uri-encoding="ISO-8859-1" ...>





              Actually, that does not help. Is there a solution to this problem?