文章分类 -  .net core

.net core
.net core返回Content中文内容时乱码,完美解决方法
摘要:在Content最后参数加上Encoding.UTF8 return Content("<script>alert('中文乱码!');History.go(-1);</script>", "text/html",Encoding.UTF8); 阅读全文

posted @ 2020-01-21 18:51 永恒一生 阅读(1532) 评论(0) 推荐(1)