[Zope] encoding strings for CGI

Graham Chiu anon_emouse@hotmail.com
Sun, 13 Jun 1999 17:28:51 +1200


I have a query which produces a table whereby I wish to click on each
cell, and drill down further to another report.

The relevant string is

<td><a href=showClassReport?manu=<!--#var MANUFACTURER null=""--
>&SUBMIT=Submit+Query><!--#var MANUFACTURER null=""--></a></td>

but it fails if Manufacturer has a space in it.

Is there a DTML method of CGI encoding Manufacturer?

-------
Regards,        Graham Chiu
gchiu<at>compkarori.co.nz