OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to specify a Processing Instruction? (better: how to controlencoding on saving)



> From: Julian Reschke [mailto:julian.reschke@gmx.de]

<snip/>

> Then obviously something is wrong on *your* side. Or do you 
> happen to use
> loadXML()? In which case I recommend to read the SDK 
> documentation and the
> MSDN article about encodings
> (<http://msdn.microsoft.com/library/default.asp?url=/library/e
n-us/dnxml/htm
l/xmlencodings.asp>).

I've recommended this article myself to people, but I have now noticed it
shows incorrect examples for setting HTTP headers. It shows:

  Content-Type: text/xml; charset:ISO-8859-1;

This is incorrect. This should be:

  Content-Type: text/xml; charset=ISO-8859-1

That's probably not the source of your problems, but you should take care to
set the headers correctly.