FileSystemObject Object in ASP Does Not Handle DBCSLast reviewed: January 15, 1998Article ID: Q177382 |
The information in this article applies to:
SYMPTOMSIf a simple ASP page uses the following procedures to read a file and write it to another file:
parameter (ASCII format),3. Read multiple lines from it using Readline, and 4. Write those lines into another file using Writeline, then the expected behavior of the above code is that the contents in the output file should be exactly the same as those in the input file. But if the input file is in Double Byte Character String (DBCS) format, the contents of the output file may not be the same as those in the input file.
CAUSEThe OEM (original equipment manufacturer) code page was incorrectly used to convert strings from Unicode to DBCS and vice versa in Scrrun.dll, while the ANSI code page is the right setting used in place of the OEM code page.
WORKAROUNDAs a workaround, do the following:
format).-or- Apply Microsoft Internet Information Server (IIS) version 4.0, which has the fix to the problem.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Internet Information Server version 3.0. The problem has been corrected in IIS 4.0. Keywords : iisapi iisscript iisui Version : WinNT:3.0 Platform : winnt Issue type : kbbug Solution Type : kbpatch |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |