Answer the question
In order to leave comments, you need to log in
ASP.NET 5 why html doesn't display cyrillic?
How to make sure that when forming the html page, the words were in Cyrillic, and not in the encoding?
Controller example.
public IActionResult Index()
{
return View(db.Products.ToList());
}
@model List<Product>
@foreach (var product in Model)
{
<a asp-controller="Product" asp-action="Show" asp-route-name="@product.CaseName">
}
<a href="/%B2%D0%B0%D1%BE">Ср</a>
<a href="Тостер">Тостер</a>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question