Encodes a string using percent-encoding, specifying which characters should be encoded.Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 220.127.116.11 (18.104.22.168)
The text to percent-encode.
A string containing a list of characters that need to be percent-encoded.
Return ValueThe encoded text.
A character in the string will be percent-encoded if:
- It is outside the printable ASCII range (i.e. is not in the ASCII range 32 to 127) OR
- It is one of the defined unsafeCharacters
For more information about percent-encoding, refer to RFC 3986.
The following example demonstrates encoding a string.