Skip to content
Related Articles

Related Articles

ASP Charset Property
  • Last Updated : 31 Jul, 2020

The ASP Charset Property is used to append the name of the character set to the content-type header in the Response object.

For example- ISO-8859-13. The default character set is ISO-LATIN-1. 

Syntax:

response.Charset(charsetname)

Parameter Values: It contains the value i.e charsetname which specifies the name of the character set for the asp page.  

Examples: 

  • If the charset property is not set into an AS page the content type Header will look like :
content-type:text/html
  • If the same property included in asp pages
<% response.Charset=ISO-8859-13 >
  • The content-type header would be as follows:
content-type:text/html; Charset=ISO-8859-13
My Personal Notes arrow_drop_up
Recommended Articles
Page :