Gets or sets the delegate used to determine whether a character should be encoded or not.
public Predicate<char> ShouldEncodeChar { get; set; }
The delegate used to determine whether a character should be encoded or not.
By default, only ASCII alphanumerics are not encoded.