ASP Response Object : Charset Property

The Charset property appends the name of a character set to the content-type header contained in the Response object. There is no checking for correctness, any string is accepted regardless of whether it represents a valid character set or not.
For example:

  <% Response.Charset = "ISO-8859-7" %>
would set the HTTP content-type header to:
  content-type:text/html; charset=ISO-8859-7

If a single page has more than one Response.Charset tag, then each tag will replace the preceding one. Therefore, the character set will be set to the value specified by the last instance of Response.Charset in the page.

Valid character sets are registered with IANA (Internet Assigned Numbers Authority), and you can see their website ( for a complete listing (

See Also:
    ISO 8859

Back to the ASP Response Object
Back to ASP Objects

All code is my own (but it likes you a lot *wink* *wink*).

Log in or register to write something here or to contact authors.