Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - XSLT transformation output contains utf-16 instead of utf-8 [Thread Next] Re: XSLT transformation output contains utf-16 instead of utf-8To: NULL Date: 11/2/2004 12:08:00 PM Anup Pant wrote: > I used the code provided by Oleg Tkachenko, but, the resuling xml output still contained xml declaration as > <?xml version="1.0" encoding="utf-16"?>. Basically the idea is that xml declaration reflects XML documen't encoding. String are always UTF-16 encoded in .NET, so is XML declaration. You propose to have UTF-16 encoded document, XML declaration of which says it's UTF-8, hmmm. I wouldn't cheat with it without a real necessity. -- Oleg Tkachenko [XML MVP] http://blog.tkachenko.com | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
