utencode.wbb

URL encode and decode a text value.

Syntax

CALL "utencode.wbb",decode,text$,result$

The CGI specification requires that certain characters be specially coded to avoid ambiguous usage. This low-level routine may be used to both encode and decode text based on the CGI requirements.

decode is set to 0 to encode text$, returning the result in result$

decode is set to 1 to decode a previously encoded text$, returning the result in result$.

 
Return to first page