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.
<% Response.Charset = "ISO-8859-7" %>
would set the HTTP content-type header to:
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 (http://www.iana.org/) for a complete listing (http://www.iana.org/assignments/character-sets).
Back to the ASP Response Object
Back to ASP Objects
All code is my own (but it likes you a lot *wink* *wink*).