![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - xml encoding question [Thread Next] Re: xml encoding questionTo: NULL Date: 11/2/2004 6:15:00 PM Matt wrote: > It has no error if I use <?xml version="1.0" encoding="utf-8" ?> in XML > declaration. But if I use <?xml version="1.0" encoding="ISO-8859-1"?> > It will produce error: > > The XML page cannot be displayed > Cannot view XML input using style sheet. Please correct the error and > then click the Refresh button, or try again later. > > Switch from current encoding to specified encoding not supported. > Error processing resource 'file:///C:/xml/quotes.xml'. Line 1, Position 44 > > <?xml version="1.0" encoding="ISO-8859-1"?> How are you trying to view the XML document? Which software gives the above error messages? And of course, what is the encoding your editor saves the XML with? Be aware that XML parsers need only to support UTF-8 and UTF-16 so there is no need for some software to implement ISO-8859-1 to call itself an XML parser. -- Martin Honnen http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
