xsl-list
[Top] [All Lists]

Special Characters in IE 6

2003-06-16 14:48:09
I have a problem with special characters not displaying properly in IE 6.  I
use numeric character codes, such as   for a space, and they all
display as a question mark in IE 6.  They all worked fine in IE 5.5, so I'm
not sure what is different now.

The encoding I am using in my XSL is:

        <?xml version="1.0" encoding="ISO-8859-1" ?>

        <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0" xmlns="http://www.w3.org/TR/REC-html40";>
        <xsl:template match="/">
                <html>
                        <head>
                                <meta http-equiv="content-type"
content="text/html; charset=UTF-8" />
                        </head>
        ...

If I include 

xmlns="http://www.w3.org/TR/REC-html40";

in my namespace, it gets rid of the question marks, but then the special
characters that don't use a numeric code, such as apostrophes, appear as
garbage characters.  I can't find the right combination to get rid of both
these problems at the same time.

I should say that I don't have control over the XML, as it is generated by a
third-party product.

Any help is greatly appreciated!

Nicole R.

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



<Prev in Thread] Current Thread [Next in Thread>