HttpResponse::ContentEncoding Property
.NET Framework (current version)
Gets or sets the HTTP character set of the output stream.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | Attempted to set ContentEncoding to null. |
Default ContentEncoding can be specified in an ASP.NET configuration file in the globalization Element (ASP.NET Settings Schema) section. If ContentEncoding is specified by the client, the default configuration settings are overridden.
.NET Framework
Available since 1.1
Available since 1.1
Show: