ASP.NET Encoding Tip from Scott Hanselman

By Roy Osherove In .Net Quotations, Tips & Tricks

Markdown version

Historical article · Originally published April 11, 2003; technical details may be outdated.

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!

More in .Net Quotations

All posts in .Net Quotations