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

This article was previously published under Q309548
This article has been archived. It is offered "as is" and will no longer be updated.
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
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />				
to:
<globalization requestEncoding="utf-8" responseEncoding="ascii" />				
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).
kbreadme
Properties

Article ID: 309548 - Last Review: 10/24/2013 07:56:58 - Revision: 2.2

  • Microsoft ASP.NET 1.0
  • kbnosurvey kbarchive kbconfig kbbrowse kbprb kbreadme kbwebforms KB309548
Feedback