How to encode URL before running EAI HTTP Transport Service
Hi All,
I am calling EAI HTTP Transport Service to perform a HTTP GET operation. The URL is dynamically created using escript. As parts of the URL, I am sending some field content of Siebel.
The problem: Whenever there is some Polish, Russian, etc. characters, the request gets invalid. The characters would need to be URL-encoded, but I can't seem to find an appropriate way to do so.
- The JavaScript function encodeURI() seems to be not recognized by eScript.
- The escript function escape() only works for some very basic characters, but most seem to be ignored
Is there any way to achieve safe URL encoding in eScript?