A
A
Andrey Plax2016-05-05 15:47:36
IIS
Andrey Plax, 2016-05-05 15:47:36

How to correctly display in ASP.NET MVC a Cyrillic field associated with EF?

How to correctly display in the View in ASP.NET MVC a field in the MODEL with the [DisplayName("Cyrillic name.")] attribute bound via the Entity Framework?
When generating HTML, "Cyrillic name." turns into cracklings, regardless of the page encoding. I understand that it is connected with localization, but I can’t resolve it yet ...
(VS 2015 Comunity, IIS built-in, Windows ENG, but the region is OUR!) ...
The second day I can’t win. Can someone tell me where to dig?
I will be grateful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Agaltsov, 2016-05-05
@Hereigo

Generally strange.
In VS, I never encountered this, but in the same php, such a "glitch" appeared if the file where the Cyrillic alphabet was written was in a different encoding.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question