首 页 ASP ASP.NET PHP JSP Ajax DIV+CSS JavaScript XML C#
MySQL MSSQL Access Oracle Linux Server 电脑技巧 网络安全 建站经验 其它

CodeSmith不能保存中文的解决办法

整理日期:2007年08月13日 【字体:

昨天在用ActiveRecord Template的时候发现CodeSmith不能正常输出中文,解决方法如下:
设置CodeSmith  tools->option->Enable unicode support
在模板中加入“ResponseEncoding="UTF-8" ”:
<%@ CodeTemplate Language="C#" ResponseEncoding="UTF-8" %>


伊图教程网[www.etoow.com]
http://www.etoow.com/html/2007-08/1186965501.html
CodeSmith的文档是这么说的:
Tags:
CodeSmith不能保存中文的解决办法
'http://www.etoow.com/html/2007-08/1186965501.html
1
 
信息搜索
  
联系我们关于本站广告服务设为首页 收藏本站友情链接网站地图
Copyright © Etoow.com Inc. All Rights Reserved