Reputation: 1286
I'm working on ASP.NET MVC 5 app. Added utf-8 support in _Layout.cshtml but this not solving my problem. Only in shared _Layout.cshtml i get weird characters for static cyrillic text. I use devextreme components like grid, chart etc. but there is no problem the cyrillic letters are okay.
This is an example what i get:
Added lang="en" in head but not help.
Upvotes: 1
Views: 847
Reputation: 1286
After hours researching i found this:
<globalization fileEncoding="utf-8"/>
in <system.web>
in Web.config
.
This line solved my problem.
Upvotes: 2