[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: Michael Brennan <Michael_Brennan@allegis.com>
- To: ComCity <mikeb@comcity.com>, xml-dev@lists.xml.org
- Date: Wed, 29 Aug 2001 15:45:56 -0700
> 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.