Consultor Eletrônico



Kbase 34048: How to use the URL-ENCODE speedscript function ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Solution ID: P4048

GOAL:

How to use the URL-ENCODE speedscript function ?

FACT(s) (Environment):

WebSpeed 3.1x

FIX:

The syntax for the URL-ENCODE() function is shown below.

URL-ENCODE(input-string, encoding-option)

All appropriate characters are encoded as hexadecimal triplets. For instance, %7E is the tilde character and the percent character is %25.

This function is useful for creating query strings where the values in name value pairs might contain spaces or special characters.

For example:
?CustName= Brown%20%26%20Winhold

instead of:

?CustName=Brown & Winhold