Coder DefaultUnsafeCharacters Property C# API
Gets a string containing all the characters that, by default, are considered unsafe and must be percent-encoded.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax

public static string DefaultUnsafeCharacters { get; }

Field Value

A string containing all the characters that, by default, are considered unsafe and must be percent-encoded.
Remarks

A character in a 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
  • One of these unsafe characters

By default, the list of unsafe characters is as follows:

CharacterName
'<'less-than sign
'>'greater-than sign
'"'quotation mark
'%'percent sign
'{'left curly bracket
'}'right curly bracket
'|'vertical line
'\'reverse solidus
'^'circumflex accent
'['left square bracket
']'right square bracket
'`'grave accent
' 'space
'\r'carriage return
'\n'line feed
'\t'tab
'&'ampersand

For more information about percent-encoding, refer to OnlineRFC 3986.

See Also