PRB: Error Message: Active Server Pages Error 'ASP 0203' Invalid Code Page (254313)
The information in this article applies to:
- Microsoft Internet Information Services 5.0
- Microsoft Internet Information Server 4.0
- Microsoft Active Server Pages 2.0
This article was previously published under Q254313 SYMPTOMS
When you try to use a session.codepage or @codepage directive in an Active Server Pages (ASP) page that is hosted on a Microsoft Internet Information Server (IIS) 4.0 Web server, the following error message may occur:
Active Server Pages error 'ASP 0203'
Invalid Code Page
/ProjectName/PageName.asp, line 1
The specified code page attribute is invalid.
If the ASP page is hosted on a Microsoft Internet Information Services 5.0 Web server, the following error message may occur:
Active Server Pages, ASP 0203 (0x80004005)
The specified code page attribute is invalid
CAUSE
Code pages have been disabled for Internet Information Server 4.0 since Windows NT 4.0 Service Pack 4 because of truncation issues, which caused characters larger then 2 bytes to be truncated. This created a problem with some double-byte character sets (DBCS), such as Japanese, that have characters that extended beyond 2 bytes in size. In Internet Information Services 5.0, the utf16(1200) and unicodeFFFE(1201) code pages are disabled.
This behavior is by design.
RESOLUTION
To work around this issue, try the following:
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
232580 INF: Storing UTF-8 Data in SQL Server
Modification Type: | Major | Last Reviewed: | 5/29/2003 |
---|
Keywords: | kbASPObj kbLocalization kbprb kbWebServer KB254313 |
---|
|