1

Topic: .net core and the Russian coding on page

I have on page Russian words and in HTML there is a code conversion for example in <a class = "navbar-brand" href = "/Trip/TripsList"> Flights </a> It is possible to get rid of it somehow? Yes I apologize, on an input at me @Html. ActionLink ("Flights","TripsList","Trip", new {area = ""}, new {@class = "navbar-brand"}) And on an output <a class = "navbar-brand" href = "/Trip/TripsList"> Flights </a> I do not know as here to interpose html that at editing it was visible utf Though if the literal text in Russian in html it does not happen If I use tag helpers all works without code conversion, as well as it is necessary normally Overcame as follows, added in ConfigureServices services. AddSingleton <HtmlEncoder> (HtmlEncoder. Create (allowedRanges: new [] {System.Text.Unicode.UnicodeRanges.BasicLatin, System.Text.Unicode.UnicodeRanges.Cyrillic}));

2

Re: .net core and the Russian coding on page

Hello, LeonM, you wrote: LM> I have on page Russian words and in HTML there is a code conversion for example in <a class = "navbar-brand" href = "/Trip/TripsList"> Flights </a> LM> It is possible to get rid of it somehow? I push "to answer" and I see in the editor of the message about such : a class = "navbar-brand" href = "/Trip/TripsList" >& #x420;& #x435;& #x439;& #x441;& #x44B; As you see, even here did not get rid. Result please a specific example that at you in a source code and that on an output.