6 references to UnicodeRanges
System.Text.Encodings.Web (6)
System\Text\Encodings\Web\DefaultHtmlEncoder.cs (1)
13
internal static readonly DefaultHtmlEncoder BasicLatinSingleton = new DefaultHtmlEncoder(new TextEncoderSettings(
UnicodeRanges
.BasicLatin));
System\Text\Encodings\Web\DefaultJavaScriptEncoder.cs (2)
11
internal static readonly DefaultJavaScriptEncoder BasicLatinSingleton = new DefaultJavaScriptEncoder(new TextEncoderSettings(
UnicodeRanges
.BasicLatin));
12
internal static readonly DefaultJavaScriptEncoder UnsafeRelaxedEscapingSingleton = new DefaultJavaScriptEncoder(new TextEncoderSettings(
UnicodeRanges
.All), allowMinimalJsonEscaping: true);
System\Text\Encodings\Web\DefaultUrlEncoder.cs (1)
11
internal static readonly DefaultUrlEncoder BasicLatinSingleton = new DefaultUrlEncoder(new TextEncoderSettings(
UnicodeRanges
.BasicLatin));
System\Text\Encodings\Web\JavaScriptEncoder.cs (2)
30
/// Unlike the <see cref="Default"/> (which only allows <see cref="
UnicodeRanges
.BasicLatin"/>), using this encoder instance allows <see cref="
UnicodeRanges
.All"/> to go through unescaped.