-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
another problem with Unicode:
When I search for a text string containing eg. german "umlaute" (äü
etc.), I get a velocity error (see below).
There seems to be a problem passing the text entered in the search form
to the search page. I tried searching for "äü" both on my and the
xwiki.org installation.
With my installation, the parameter "text" (given in the URL) is set to
text=%C3%A4%C3%BC
This is wrong. On
xwiki.org it is:
text=%E4%FC
The velocity error (note the strange characters near the end):
Error number 4001 in 4: Error while parsing velocity page Main.WebSearch
Wrapped Exception: Invocation of method 'searchDocuments' in class
com.xpn.xwiki.api.XWiki threw exception class
com.xpn.xwiki.XWikiException : Error number 3223 in 3: Exception while
searching documents with sql where doc.web like '%äü%' or doc.name
like '%äü%' or doc.content like '%äü%' order by doc.date desc
Wrapped Exception: could not execute query
Thanks,
Michael
- --
Michael Redinger
Zentraler Informatikdienst (Central IT Services)
Universitaet Innsbruck
Technikerstrasse 13 Tel.: ++43 512 507 2335
6020 Innsbruck Fax.: ++43 512 507 2944
Austria Mail: Michael.Redinger(a)uibk.ac.at
BB98 D2FE 0F2C 2658 3780 3CB1 0FD7 A9D9 65C2 C11D
http://homepage.uibk.ac.at/~c102mr/mred-pubkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org
iD8DBQFE9FRkD9ep2WXCwR0RAojWAKDVJWBk5H2GLEEEbKw+0iX9JYRPggCg3S6l
b//mS2GVrVGzth2YOSAzA74=
=UbUJ
-----END PGP SIGNATURE-----