this code is displayed incorrectly

2 hafta önce
Hi all. When I write the name of a product category in Russian (Автохимия) when creating a site map, this code is displayed incorrectly:
<url>
<loc>https://example.ru/%D0%B0%D0%B2%D1%82%D0%BE%D1%85%D0%B8%D0%BC%D0%B8%D1%8F</loc>
<changefreq>weekly</changefreq>
<lastmod>2024-05-17</lastmod>
</url>

how to fix this?
2 hafta önce
I wonder if it's related to this issue
https://www.nopcommerce.com/en/boards/topic/99003/seo-title-and-description-encoding-problem-reopen
2 hafta önce

public void ConfigureServices(IServiceCollection services)
{
  
    services.Configure<WebEncoderOptions>(options =>
    {
        options.TextEncoderSettings = new System.Text.Encodings.Web.TextEncoderSettings(System.Text.Unicode.UnicodeRanges.All);
    });
}

In my projects I solved it like this
1 hafta önce
Hi. We generate sitemap.xml in accordance with the official specification and in accordance with RFC-3986 and RFC-3987 listed therein. According to these rules, we must encode all non-ASCII characters

JON656 wrote:
Hi all. When I write the name of a product category in Russian (Автохимия) when creating a site map, this code is displayed incorrectly:
<url>
<loc>https://example.ru/%D0%B0%D0%B2%D1%82%D0%BE%D1%85%D0%B8%D0%BC%D0%B8%D1%8F</loc>
<changefreq>weekly</changefreq>
<lastmod>2024-05-17</lastmod>
</url>

how to fix this?