If you use tomcat then you must set the encoding of the url as a
special property before tomcat uses urf8 for the url part.

On 1/22/08, palun <[EMAIL PROTECTED]> wrote:
>
> (I´m sorry if this is the wrong forum for this kind of question. If so,
> please direct me.)
>
> Here´s my problem:
> I set a page parameter for the page MyPage like this:
>
>         PageParameters params = new PageParameters();
>         params.put("str", "åäö");
>         setResponsePage(MyPage.class, params);
>
> I retrieve the value on MyPage like this:
>
>         public BYNPage(PageParameters p) {
>                 add(new Label("test", "" + p.getString("str")));
>         }
>
>         <div wicket:id="test"/>
>
> But on MyPage the string is displayed as "åäö" !!?
>
> Any idea why?
> (The problem seems to occur only when sending strings via PageParameters.)
>
> /ulf
>
>
> --
> View this message in context:
> http://www.nabble.com/PageParameters-mess-up-my-strings-tp15030410p15030410.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-- 
Sent from Gmail for mobile | mobile.google.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to