You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Shamem Miah <Sh...@scisys.co.uk> on 2006/07/25 13:19:43 UTC
Information loss in embedded mode
Hi
I have a xsl template which uses list with symbols. When I generate an rtf document from the command prompt it outputs the document correctly with the correct symbols.
Now when I perform the transformation in an embedded java program it the symbols are not displayed correctly. I noticed that they get changed from '▪' to '
â-ª' . Anyone know how I can stop this.
Cheers
Re: Information loss in embedded mode
Posted by Chris Bowditch <bo...@hotmail.com>.
Shamem Miah wrote:
> Hi
>
> I have a xsl template which uses list with symbols. When I generate an
> rtf document from the command prompt it outputs the document correctly
> with the correct symbols.
>
> Now when I perform the transformation in an embedded java program it the
> symbols are not displayed correctly. I noticed that they get changed
> from '▪' to '
>
> â–ª' . Anyone know how I can stop this.
Sounds like an encoding problem. How does your java application read the
XSLT and XML Files, and how does it pipe these files to FOP? Your are
probably doing an implicit conversion from bytes to String somewhere in
your code.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org