Answer the question
In order to leave comments, you need to log in
Response encoding in ASP.NET Core 3.1?
Until now, in ConfigureServices you need to write
services.AddSingleton(HtmlEncoder.Create(allowedRanges: new[] { UnicodeRanges.BasicLatin, UnicodeRanges.Cyrillic }));
Answer the question
In order to leave comments, you need to log in
What encoding do you send?
In theory, in utf-8 everything goes as it should
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question