to: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
subject: Re: character dagger
Hi,
Thank you all so much for your input on this. Michael, I did check the XML file as well as XSL file of the encoding declaration. This is what I have on both the files. I did a copy and past of (†) the dagger symbol into the database. I used java application to retrieve the
field and created xml file. As I said earlier, using notepad I am able to see the dagger symbol of the xml file but not after applying xslt file.
Thanks
<?xml version='1.0' encoding='iso-8859-1'?>
<?xml-stylesheet type='text/xsl' href='../810_005.xsl'?>
....
<xsl:stylesheet version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:func="http://www.exslt.org/functions"
xmlns:date="java.util.Date"
xmlns:format="java.text.SimpleDateFormat"
exclude-result-prefixes="date format">
<xsl:output method="html" encoding="iso-8859-1"/>
.....
Michael Kay wrote:
> > I do see the dagger symbol (†) in the xml file (using
> > nodepad). Once I apply the syle sheet † becomes ⤢, and in
> > PDF † is #. I realize that † is not present in iso-8859-1.
>
> If you see a dagger symbol in the file when you view it using NodePad, then the file cannot be in iso-8859-1 encoding. Forget FOP: you need to solve the problem by ensuring that the actual encoding of the XML file and the encoding declared in its XML declaration are the same.
>
> Michael Kay
> Software AG
> home: Michael.H.Kay@xxxxxxxxxxxx
> work: Michael.Kay@xxxxxxxxxxxxxx
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|