Scott Hanselman

Netscape Navigator 4.6 and ASP.NET

March 30, '03 Comments [0] Posted in Web Services | ASP.NET | Internationalization
Sponsored By

If your life sucks so badly that you have to support Netscape 4.x, you might want to remember that Netscape 4 never handled Unicode/UTF-8 very well.  Since UTF-8 is ASP.NET's default Response Encoding, you'll often see the Evil Black Squares  "" ©2003 displayed instead of your text.  

Easily fixed though, change the following line in the Web.config file from

<globalization requestEncoding="utf-8" responseEncoding="utf-8" />

to:

<globalization requestEncoding="utf-8" responseEncoding="ascii" />

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.