@URLDecode (Formula Language)

Decodes a URL string into regular text.

Note: This function is new with Release 6.

Syntax

@URLDecode( decodeType ; token )

Parameters

decodeType

Text. The type of encoding you want to use to translate the token. You can specify either a string argument or a MIME character set.

String arguments:

  • "Domino®" -- Decodes the token using the standard character set used by the Domino® Web server. This keyword is equivalent to the "UTF-8" MIME character set.
  • "Platform" -- Decodes the token using the current system's native character set.

MIME character set:

Decodes the hexadecimal digits that represent the code value into octets, then converts the specified character sets into LBMCS. The supported MIME character sets are:

  • "UTF-8" -- UCS(Universal Character Set) Transformation Format 8. An ASCII-compatible multi-byte Unicode and UCS encoding.
  • "ISO-8859-1" -- The ISO's (International Standards Organization) 8-bit, single-byte-coded graphic character set for European languages.
  • "Shift_JIS" -- The character set for the Japanese language.

token

Text or text list. URL string(s) to be decoded.

Return value

String

Text or text list. Returns a decoded version of a URL string.

Examples

This code, when used as the default value for a field, decodes the URL-formatted string in the encode field. It returns "Employee/My Database" if the encode field contains "Employee%2FMy%20Database.nsf."
@URLDecode("Domino";encode)