[Expat-discuss] iso-8859-1 "unknown encoding" ?

Alexander Indenbaum alexander.indenbaum at gmail.com
Thu Feb 3 20:29:50 CET 2005


Karl,

This is XML generated by third party, so I can not really change it.

Is there a way to tell expat to continue even if it thinks that
encoding declaration is invalid?
Can I hint expat to use  ISO-8859-1  when  iso-8859-1 encoding declared? 

Alexander Indenbaum.

On Thu, 03 Feb 2005 14:19:56 -0500, Karl Waclawek <karl at waclawek.net> wrote:
> Alexander Indenbaum wrote:
> > Karl,
> >
> > Thanks for such a fast response, but I did not get it.
> >
> > Why do I get parse error 18  ( unknown encoding ) for XML declared as
> > "iso-8859-1"?
> > How can I get such a xml parsed?
> 
> Does the XML document contain an XML declaration?
> If yes, maybe try ISO-8859-1 instead of iso-8859-1.
> I am not sure, but it could be that encoding ids are case-sensitive.
> Expat should understand it.
> 
> Karl
>


More information about the Expat-discuss mailing list