6 Replies Latest reply on Mar 12, 2008 9:50 PM by goldmann.marek.goldmann.pl

    Problem with non-ansi characters getting escaping recursively

      Hello,


      I have many links on my page like the following one:


      <s:link>
        <f:param name="#{keyname}" value="#{keyword}y"/>
        <h:graphicImage value="key_y.png"/>
      </s:link>



      This works all well until there are german umlaute in keyword like äöü. Then this special chars get escaped on every request that I make.


      After 5 hits, my URL looks something like that:


      k%C3%83%C2%83%C3%82%C2%83%C3%83%C2%82%C3%82%C2%A4s



      This is the generated html source code for the next link:


      lastName=k%C3%83%C2%83%C3%82%C2%83%C3%83%C2%82%C3%82%C2%83%C3%83%C2%83%C3%82%C2%82%C3%83%C2%82%C3%82%C2%A4sey



      And this I the text that shows up, when I use <h:outputText escape="false" value="#{keyword}"/>:


      k�������¤se



      So, can someone please tell me, who is escaping the characters (s:link, f:param, firefox/ie, jboss as, any other suspect?) and how I can stop this behaviour or what to try else?


      Any help would be great, thanks, Peter


      PS: If I type käse in the url-bar by hand, the outputText shows käse and the page searches for words with käse in it, so this works correctly. Only the generation of new links is afflicted by this problem.