The Charset property appends the name of the character set (for example, ISO-LATIN-7) to the content-type header in the response object.
A string that specifies a character set for the page. The character set name will be appended to the content-type header in the Response object.
For an ASP page that did not include the Response.Charset property, the content-type header would be:
If the same .asp file included:
<% Response.Charset("ISO-LATIN-7") %>
the content-type header would be:
This function inserts any string in the header, whether it represents a valid character set or not.
If a single page contains multiple tags containing Response.Charset, each Response.Charset will replace the previous CharsetName. As a result, the character set will be set to the value specified by the last instance of Response.Charset in the page.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.