hlizard Fork me on GitHub
同事在global.asax中写代码,最后发现要在web.config中设置<globalization fileEncoding="gb2312" />才能正常运行,但这个设置导致页面中有乱码.最后我发现global.asax的编码和其它文件不同,是GB2312(用记事本另存时显示的为ANSI),我试着把它另存为utf-8后发现页面正常了. 同事说global.asax文件是Sharepoint站点自己带的,并非他手动创建,所以提醒大家注意一下此文件的编码 Read More
posted @ 2011-11-07 15:54 hlizard Views(377) Comments(0) Diggs(0) Edit