ASP CodePage Property


❮ Complete Session Object Reference

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

Example of some code pages:

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

Syntax

Session.CodePage(=Codepage)

Parameter Description
codepage Defines a code page (character set) for the system running the script engine

Examples

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

Output:

1252

❮ Complete Session Object Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.