Creating a RESTful Web Service Using ASP.Net MVC Part 16 – XML Encoding

February 21, 2009 01:04 by admin

Jim Solderitsch wrote to me asking for helping making the last version of the web service return XML encoded using UTF-8 rather than UTF-16. He couldn’t load the XML returned from the web service into an XmlDocument without an exception being thrown.

I thought this would be simple, but then I’ve not paid much attention to encoding before!