BUG: Double-Byte Character Set Data May Be Corrupted When You Assume Request Object Collection Name (254628)
The information in this article applies to:
- Microsoft Active Server Pages, when used with:
- the operating system: Microsoft Windows NT 4.0
This article was previously published under Q254628 SYMPTOMS
When a Web browser submits an HTML form that contains double-byte character set (DBCS) data to an Active Server Pages (ASP) page, the data may become corrupted.
CAUSE
This problem can occur if the ASP code uses the Request object with an assumed collection name when the collection is first accessed.
For example, this problem can occur if a form with Chinese characters is posted to an ASP page, and you first use Request("myformelement") instead of Request.Form("myformelement") to retrieve the posted data. ASP uses the default system code page (instead of the code page that is specified in the ASP code) to interpret the data.
NOTE: On an English Microsoft Windows NT-based system, the default system codepage is Windows-1252.
RESOLUTION
There are three ways to resolve this issue: STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information on ASP related localization resources, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
254313 PRB: Error Message: Active Server Pages Error 'ASP 0203' Invalid Code Page
261154 PRB: Visual InterDev Design-Time Controls Corrupt Unicode and Double-Byte Character Set Data
259352 PRB: Server.HTMLEncode Corrupts Unicode Characters and Double-Byte Character Set Data
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kbASPObj kbBug kbCodeSnippet kbLocalization kbnofix kbWebServer KB254628 kbAudDeveloper |
---|
|