On Fri, 30 Jun 2000, Magnus Heino (Rivermen) wrote: > Am I doing anything wrong? :-P Are you using this within Zope? Then you could do: <dtml-var the_variable url_quote> If I'm not mistaken, Zope also has sql_quote and html_quote.