Posted on 04/08/2025 11:45:24
							
							
						 
						Hi
This seems to be depending on the server.
We are explicitly defining UTF8 in the xmlwrite settings:
private static readonly XmlWriterSettings xmlWriterSettings = new() { Indent = true, Async = true, Encoding = Encoding.UTF8 };
But since we are writing to a Stream in later versions of sitemap middleware, the xmlwriter encoding is discarded - so I have just updated the middleware to use StreamWriter instead - and explicitly setting it to utf8.
devops#24998
https://doc.dynamicweb.dev/documentation/fundamentals/dw10release/releasenotes/workiteminfo.html?workitemid=24998
BR Nicolai