Skip to main content
Skip table of contents

escapeURI() Operation

Syntax

anEscapedString = aString.escapeURI(codepage)
anEscapedString = escapeURI(LITERAL, codepage)

Semantics

The string is escaped to conform with URI encoding as defined in RFC 2396. The codepage defines the target encoding, e.g. web forms accept parameters in the same encoding as the website (e.g. ISO-8859-1). The return value is a string.

Parameters of URLs must be encoded value by value.

Substitutables

aString

Can be any variable or object attribute having the type String.  

codepage

A string with the name of the target codepage.

LITERAL

String literal.

Examples

NONE
set escaped = concat("http://www.acme-corp.com/?name=", escapeURI("Müller", "iso-8859-1")); 

The escaped string will have the value http://www.acme-corp.com/?name=M%fcller.

Related Pages:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.