|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Special Characters in IE 6
Presumably your 3rd party software is generating ISO-8859-1 encoding? Have you tried setting your output encoding attribute in the xsl:output element to ISO-8859-1 and getting rid of your meta literal result element? Let the xsl:output element do as much work as you can. You can set doctypes there, too. Chuck White Author, Mastering XSLT, Sybex Books http://www.javertising.com/webtech http://www.tumeric.net ----- Original Message ----- From: "Rowlinson, Nicole SLGA" <NRowlinson@xxxxxxxxxxxxxx> To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, June 16, 2003 2:48 PM Subject: Special Characters in IE 6 > 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 > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








