Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

This article was previously published under Q309548

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


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
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
				
to:
<globalization requestEncoding="utf-8" responseEncoding="ascii" />
				

↑ Back to the top


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).

↑ Back to the top


Keywords: KB309548, kbwebforms, kbreadme, kbprb, kbbrowse, kbconfig

↑ Back to the top

Article Info
Article ID : 309548
Revision : 4
Created on : 4/24/2003
Published on : 4/24/2003
Exists online : False
Views : 445