HttpResponse.ContentEncoding Property
.NET Framework 2.0
Gets or sets the HTTP character set of the output stream.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: property Encoding^ ContentEncoding { Encoding^ get (); void set (Encoding^ value); }
/** @property */ public Encoding get_ContentEncoding () /** @property */ public void set_ContentEncoding (Encoding value)
public function get ContentEncoding () : Encoding public function set ContentEncoding (value : Encoding)
Property Value
A Encoding object containing information about the character set of the current response.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.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: