解决办法:在读取模板和生成新页面的时候,都要加上编码方式,例如:System.Text.Encoding.GetEncoding("GB2312") 转载于:https://www.cnblogs.com/lyzxx/archive/2007/04/17/717356.html