xsl-list
[Top] [All Lists]

RE: Microsoft.XMLDOM UTF-8 Encoding!

2003-07-11 14:52:50
Show us your ASP code.

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

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
[Tech]
Sent: Friday, July 11, 2003 11:22 PM
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
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