diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs index f82ee1ab0..65cb4b0ef 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs @@ -270,7 +270,8 @@ namespace Learun.Application.Web.Areas.LR_SystemModule.Controllers Response.ContentType = "application/pdf"; break; } - Response.Charset = "GB2312"; + //Response.Charset = "GB2312"; + Response.Charset = "utf-8"; //修改txt文件预览乱码 Response.WriteFile(filepath); //Response.BinaryWrite(ms.ToArray()); }