Share via


AspCodepage

AspCodepage specifies the default code page for an application. This setting can be overridden at the page level by using the ASP page directive, @CODEPAGE, for literal Strings, or one of the CodePage properties of the ASP built-in Session and Response objects for dynamic data. If this property is set to 0 at any node, the system default codepage (CP_ACP) is inferred.

Attribute Name Attribute Value
XML Data Type DWORD
WMI Data Type
SINT32
ADSI Data Type DWORD
ABO Data Type DWORD
ABO Metabase identifier
MD_ASP_CODEPAGE
Attributes INHERIT
Default Value 0
MetaFlagsEx CACHE_PROPERTY_MODIFIED
User Type ASP_MD_UT_APP
StartingNumber Not applicable
EndingNumber 0
ID 7016

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type
/LM/W3SVC/n/ROOT
/LM/W3SVC/n/ROOT/virtual_directory_name
IIsWebVirtualDir
/LM/W3SVC/n IIsWebServer
/LM/W3SVC IIsWebService
/LM/W3SVC/n/ROOT/physical_directory_name
/LM/W3SVC/n/virtual_directory_name/physical_directory_name
IIsWebDirectory

Code Example

For general code examples, please see Code Examples to Configure Metabase Properties