Hi Ulf,
You use non iso8859-1 characters in the Java file. That is fine as long
as you are sure you safe the file in UTF-8.
Nowadays you should be allowed to use UTF-8 in URLs. But don't count on
it too much yet. Edvin's solution looks safer.
However, since you said that the problem only
, + 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
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
params.put(str, åäö);
setResponsePage(MyPage.class, params);
But on MyPage the string is displayed as åäö !!?
You are sending non-ASCII characters so maybe you could URLEncode the
characters before sending them?
params.put(str, URLEncoder.encode(åäö, UTF-8));
And then get