hi
this should work:
String query = "";
if (request.getParameter("query") != null) {
query = request.getParameter("query");
query = info.magnolia.cms.util.RequestFormUtil.getURLParameterDecoded
(request,"query","UTF-8");
}
cheers tom
Am 27.03.2007 um 15:28 schrieb Stefan Zingmark:
Hi all!
I have a problem with the simpleSearch tag when I search for "non-
english-characters". The simpleSearch tag does not recognize these
characters and therefore I get no search results. Have anyone
encountered this before? Does anyone have a solution to this
problem? I can get the word in "normal" characters but then I don't
know how to use it in the simpleSearch tag.
<jsp:scriptlet>
String realWord = new String(request.getParameter
("query").getBytes("ISO-8859-1"), "UTF8");
</jsp:scriptlet>
Thanks!
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
--
esense GmbH
Tom Wespi
Leonhardsstrasse 38
CH-4051 Basel
0041 61 271 35 01
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------