Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 309548 - Last Review: April 24, 2003 - Revision: 2.2
PRB: Netscape Navigator 4.x Displays Square Boxes on Redraw When You View ASP.NET Pages
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
<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).
| kbconfig kbbrowse kbprb kbreadme kbwebforms KB309548 |
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please