Microsoft KB Archive/245000

= PRB: Do Not Save ASP Files in UNICODE Format =

Article ID: 245000

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Active Server Pages 4.0
 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q245000



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.



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.</li></ol>

Keywords: kberrmsg kbprb KB245000

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.