C# UnicodeEncoding IsBrowserSave
Description
UnicodeEncoding 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
UnicodeEncoding.IsBrowserSave
has the following syntax.
public virtual bool IsBrowserSave { get; }
Example
using System;//w w w.j av a2s . c om
using System.Text;
public class SamplesEncoding {
public static void Main() {
foreach( EncodingInfo ei in Encoding.GetEncodings() ) {
Encoding e = ei.GetEncoding();
Console.Write(e.IsBrowserSave);
}
}
}
The code above generates the following result.