PRB: Do Not Save ASP Files in UNICODE Format

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 that are 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

  1. Open Notepad.
  2. Copy the following code:
    <%
    response.write "hello world..."
    %>
  3. From the File menu, select Save As. Copy this file to one of your virtual directories.
  4. Name the file, and select "Encoding" as "UNICODE".
  5. Test your ASP.
Svojstva

ID članka: 245000 - posljednja izmjena: 14. kol 2008. - verzija: 1

Povratne informacije