I am developing a site in ASP.NET MVC6 with Polish letters. They work great when I write them in _Layout.cshtml, but I also use RenderBody () to view the views.
Using Html.DisplayFor (modelItem => item.ID) inside, it displays Polish characters correctly, but when I use simple html and write something, all I see on the website is "?" instead of every polish letter.
In _layout.cshtml I have an ad:
<meta charset="utf-8" />
And in web.config I have:
<?xml version="1.0" encoding="utf-8"?>
source
share