Roy Osherove

View Original

ASP.NET Encoding Tip from Scott Hanselman

Tip from Scott Hanselman

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

to:


[via Wagner Blog]

cool!