Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Cannot return XML with UTF-8 chars with ASP. Cannot return XML with UTF-8 chars with ASP.To: NULL Date: 10/2/2005 9:17:00 AM I am trying to return XML through an ASP page and it simply fails when the XML contains characters with ascii value is > 128. While I generate my data dynamically, this simple example -- note the currency symbol -- displays the same error: "An invalid character was found in text content.". It displays properly if I use a $ instead of the £ ------------------------------------------------------------------ <%@ Language=VBScript %> <%Response.ContentType="text/xml"%> <% Response.Write "<?xml version=""1.0"" encoding=""UTF-8""?>" Response.Write "<text>Cost £200</text>" %> ------------------------------------------------------------- Thanks, --Brian | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
