System.Web.HttpRequest.ContentEncoding Property

Gets or sets the character set of the entity-body.

Syntax

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

Value

The System.Text.Encoding used for the request body.

Remarks

Default content encoding can be specified in the globalization Element (ASP.NET Settings Schema) of a configuration file. If content encoding is also 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