ASP CodePageProperty


Session 对象参考手册Complete Session Object Reference Manual

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

Some examples of code pages:

  • 1252 - American English and most European languages
  • 932 - Japanese Kanji

Syntax

Session.CodePage(=Codepage)

Parameters Description
codepage Defines the code page (character set) for the system running the script engine.

Example

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

Output:

1252


Session 对象参考手册Complete Session Object Reference Manual Other Extensions