ASP CodePage Attribute

Session Object Reference Manual

Definition and Usage

The CodePage attribute specifies the character set used when displaying dynamic content.

Example:

  • 1252 - American English and most European languages
  • 932 - Japanese汉字

Syntax

Session.CodePage(=Codepage)
Parameters Description
codepage Define the code page (character set) for the system running the script engine.

Example

<%
Response.Write(Session.CodePage)
%>

Output:

936

Session Object Reference Manual