Product Home Page | Developer Site | Version | |
Session.CodePage affects all responses in a session, whereas Response.CodePage affects a single response.
If the code page is set in a page, then Response.Charset should also be set. The code page value tells the server how data should be encoded when building the response, and the charset value tells the browser how the data should be decoded when displaying the response. CharsetName of Response.Charset must match the code page value. If they do not match, mixed characters will be displayed in the browser.
See also:
ASP Response Object CodePage Property
ASP Response Object Charset Property
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.