PRB: Do Not Save ASP Files in UNICODE Format

ID: Q245000


The information in this article applies to:
  • Active Server Pages
  • Microsoft Windows 2000
  • Microsoft Internet Information Server 5.0


SYMPTOMS

Executing Active Server Pages (ASP) saved as UNICODE format produces the following error:

Active Server Pages, ASP 0239 (0x80004005)
Cannot process file
UNICODE ASP files are not supported.


CAUSE

The ASP compiler cannot parse ASP files saved in UNICODE.


RESOLUTION

Use the default Encoding type (ANSI) to avoid this problem


STATUS

This behavior is by design.


MORE INFORMATION

Steps to Reproduce Behavior


  • Open Notepad.
  • Copy the following code:

  • 
    <%
    	response.write "hello world..."
    %> 
  • From the File menu, select Save As. Copy this file to one of your virtual directories.
  • Name the file, and select "Encoding" as "UNICODE".
  • Test your ASP.

Additional query words:

Keywords : kbWinOS2000 kbGrpASP kbiis500
Version : WINDOWS:; winnt:5.0
Platform : WINDOWS winnt
Issue type : kbprb


Last Reviewed: January 10, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.