更新时间:2023-11-27 20:29:28
尝试:
<system.web> <globalization fileEncoding="utf-8" /> </system.web>
别忘了将源文件也保存在UTF-8中.
Don't forget to save your source file in UTF-8 as well.
如何强制ASP.NET MVC以UTF-8格式读取.cshtml文件?