Re: [xsl] Re: Problem with encoding using document function

Subject: Re: [xsl] Re: Problem with encoding using document function
From: António Mota <amsmota@xxxxxxxxx>
Date: Wed, 2 Mar 2005 15:08:34 +0000
Yes, i have

response.ContentType="text/xml; charset=ISO-8859-1"

but that affects the way the resulting XML is viewed in browsers, it
won't affect the xml when i get it thru document(), at least from the
tryes i've made...


On Wed, 02 Mar 2005 05:15:01 -0800, Robert Koberg <rob@xxxxxxxxxx> wrote:
> 
> >   I've attached the string containing the instruction to the beginig of the XML.
> > response.Write "<?xml version=""1.0"" encoding=""ISO-8859-1"" ?>" & aDocXml.xml
> >
> 
> Shouldn't the ASP send this information? (yes)
> 
> In Java you would do:
> 
> response.setContentType("text/xml; charset=ISO-8859-1");
> 
> There has to be something similar in ASP (the string would remain the same).
> 
> best,
> -Rob

Current Thread