you can use url_quote_plus from a python script: from Products.PythonScripts.standard import url_quote_plus return url_quote_plus(query) see zope api http://www.zope.org/Documentation/ZopeBook/AppendixB.stx "module standard" how to use that from DTML? i don´t know... /wolfie -- http://www.t0.or.at Sven Rudolph wrote:
Hello all
I have a variable called "query" which contains a search query. For example:"mäßig Genügsam" (with german special characters ;-)
With <dtml-var query url_quote_plus> I can use it inside of an anchor tag like this: <a href="/MyZCatalog/report?query=<dtml-var query url_quote_plus>">
But how do I get url_quote_plus in this case? <dtml-call "RESPONSE.redirect('/MyZCatalog/report?query='+query)">
In this case no special characters are "url_quoted".
I know I could use javascript here, but I want to avoid this.
Thanks in advance for any help
Sven