>>> Alexander Staubo wrote > Simple. To URL encode "foo", just do: > > <!--#var foo url_quote--> Note that this won't quote the / character, though - I'm not sure what the best way to handle that is (yes, it's something that's bitten me before). Anthony.