Hello,
To send messages through an API, I need to use URLEncode function. Seems that function is not encoding the special character '&'.
My code:
sResult is string
sResult = URLEncode (EDT_Input)
Info(sResult)
For input : Nice & beatiful,
I get : Nice%20&%20beatiful
When I try @ [www.urlencoder.org]
I get Nice%20%26%20Worthy
for the same input string. (see %26 in between %20)
Would like to know whether URLEncode function should encode ('&') to %26 or not ? What should we do to correct this problem.
Happiness Always
BKR Sivaprakash
To send messages through an API, I need to use URLEncode function. Seems that function is not encoding the special character '&'.
My code:
sResult is string
sResult = URLEncode (EDT_Input)
Info(sResult)
For input : Nice & beatiful,
I get : Nice%20&%20beatiful
When I try @ [www.urlencoder.org]
I get Nice%20%26%20Worthy
for the same input string. (see %26 in between %20)
Would like to know whether URLEncode function should encode ('&') to %26 or not ? What should we do to correct this problem.
Happiness Always
BKR Sivaprakash