I have a ASP.NET Web app and here is the below entry in Web.Config
<add key="FromName" value="Test™"/>
When I try to browse the site I get the following error-
Configuration file is not well-formed XML
It converts the above key to the below way-
<add key="FromName" value="Test�"/>
In IIS I have set the UTF-8 format. I have been trying to look for an answer for a quite long time.
Does somebody have any idea on the same?
You should use the ASCII value:
If this returns as
Test™, then you’ll have to encode the result.