C# ASCIIEncoding IsBrowserSave
Description
ASCIIEncoding IsBrowserSave
When overridden in a derived
class, gets a value indicating whether the current encoding can be used by
browser clients for saving content.
Syntax
ASCIIEncoding.IsBrowserSave
has the following syntax.
public virtual bool IsBrowserSave { get; }
Example
//from w w w.j a va2 s. c o m
using System;
using System.Text;
public class SamplesEncoding
{
public static void Main()
{
foreach (EncodingInfo ei in Encoding.GetEncodings())
{
Encoding e = ei.GetEncoding();
Console.WriteLine(ei.Name);
Console.WriteLine(e.IsBrowserSave);
}
}
}
The code above generates the following result.