That is correct. Your source is Cyrillic Unicode 16 chars, and metatag should be utf8. Razor just escaped them. It’s perfectly valid.
Note: when you type, you are using utf8 with a Cyrillic code page.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Good day developers. I ran into a problem with meta tags. My site is used in Russian, everything works fine, but it remains a mystery to me why meta tags are not displayed in the source code as Russian text, but are displayed as decoded text? I've already gone through everything and notice if I write it manually in code
<meta name="description" content="Тест текст">
then this is displayed correctly, but if I have a variable set:
<meta name="description" content="@fileModel.Seo_Description">
then it looks like
<meta name="keywords" content="тест тексттт" />
does anyone have any suggestions? Thank you and have a nice holiday.
That is correct. Your source is Cyrillic Unicode 16 chars, and metatag should be utf8. Razor just escaped them. It’s perfectly valid.
Note: when you type, you are using utf8 with a Cyrillic code page.