System.Web.HttpResponse.ContentEncoding Property

Gets or sets the HTTP character set of the output stream.

Syntax

public System.Text.Encoding ContentEncoding { set; get; }

Value

a System.Text.Encoding

Remarks

Default ContentEncoding can be specified in an ASP.NET configuration file in the globalization Element (ASP.NET Settings Schema) section. If HttpResponse.ContentEncoding is specified by the client, the default configuration settings are overridden.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0