YouTip LogoYouTip

Prop Charset

# ASP Charset Property * * Complete Response Object Reference](#) * * * The Charset property appends a character set name to the content-type header in the Response object. The default character set is ISO-LATIN-1. **Note:** This property accepts any string, regardless of whether it is a valid character set name. ### Syntax response.Charset(charsetname) | Parameter | Description | | --- | --- | | charsetname | A string that specifies the character set for the page. | ### Example If the ASP page does not set the Charset property, the content-type header will look like this: content-type:text/html If we use the Charset property: The content-type header will look like this: content-type:text/html; charset=ISO-8859-1 * * Complete Response Object Reference](#)
← Prop ContenttypeProp Cachecontrol β†’