Microsoft KB Archive/309548

= PRB: Netscape Navigator 4.x Displays Square Boxes on Redraw When You View ASP.NET Pages =

Article ID: 309548

Article Last Modified on 4/24/2003

-

APPLIES TO


 * Microsoft ASP.NET 1.0

-



This article was previously published under Q309548



SYMPTOMS
When text is redrawn on an ASP.NET Web page in Netscape Navigator 4.x, square boxes appear instead of the original text. This problem does not occur in Netscape Navigator versions 6.0 and later.



CAUSE
ASP.NET uses a default encoding of UTF-8. This problem occurs because Netscape Navigator 4.x encounters problems when it redisplays UTF-8 encoded text.



RESOLUTION
To work around this problem, add the following text to change the encoding for the affected ASP.NET Web page: <%  Response.ContectEncoding = Encoding.ASCII %> To change the encoding in the entire Web Application project, change the following line in the Web.config file from  to: 



MORE INFORMATION
A redraw can occur under the following circumstances:
 * A menu has overlapped the text and has been removed.
 * Another window is placed over the text and is removed.
 * Any other instance in which text is hidden behind something else.

To reproduce this problem, view an ASP.NET page in Netscape Navigator 4.x. The ASP.NET page must either render text from an included script file or modify the original page by using script (that is, add or remove a layer).

Additional query words: kbreadme

Keywords: kbwebforms kbreadme kbprb kbconfig kbbrowse KB309548

-

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

© Microsoft Corporation. All rights reserved.