Help > Web Development > Reference > Scripting Objects > Response Object > CharSet

Response.CharSet Property

The CharSet property indicates the format that textual content is sent, the value is appended to the Content-Type HTTP header.

Syntax
Response.CharSet = (string)

Parameters
string

Contains the charset to be appended to the Content-Type.


Example
<%
Response.CharSet = "utf-8"
%>
The above example would add the following HTTP header:
Content-Type: text/html; charset=utf-8

Applies To
Response Object