RE: [xsl] Microsoft.XMLDOM UTF-8 Encoding!

Subject: RE: [xsl] Microsoft.XMLDOM UTF-8 Encoding!
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Fri, 11 Jul 2003 23:52:50 +0200
Show us your ASP code.

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of [Tech]
> Sent: Friday, July 11, 2003 11:22 PM
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Microsoft.XMLDOM UTF-8 Encoding!
>
>
> Hi,
>
> I create a valid UTF-8 encoding XML file with "Microsoft.XMLDOM".
> It's OK when a parse my XML/XSL with ASP.
>
> But not if I open the file directly with Mozilla or IE
>
> 1. My XML file are OK
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href="sauve.xsl"?>
>
> 2. My XSL file
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> <xsl:output method="html" encoding="UTF-8" indent="no"/>
>
> 3. And I force the "Content-Type"!
> <xsl:template match="/">
>    ...
> =>>> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
>   ...
>
> Mozilla say (File info tab) that is "ISO" file but say about
> "Content-Type"
> == >text/html; charset=UTF-8
>
> Gorgeous!
>
> Tx
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread