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 Jirka Kosek <ji...@kosek.cz> on 2006/09/14 11:09:56 UTC
Re: [docbook-apps] Re: JAXP and docbook-xsl Stylesheets
Don Adams wrote:
> A HUGE thank you! Yes, after spending hours
> trying to figure this out, all I needed to
> do was change this:
>
> transformer.setOutputProperty(OutputKeys.ENCODING,"UTF-8");
>
> to this:
>
> transformer.setOutputProperty(OutputKeys.ENCODING,"ISO-8859-1");
I think that the best is to omit this command completely. Then
transformer will use encoding specified in stylesheet by <xsl:output
encoding="..."/> and you can be sure that there will not be encoding
mismatch.
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
------------------------------------------------------------------
Profesionální školení a poradenství v oblasti technologií XML.
Podívejte se na náš nově spuštěný web http://DocBook.cz
Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
Nejbližší termíny školení:
** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 **
------------------------------------------------------------------
http://xmlguru.cz Blog mostly about XML for English readers
------------------------------------------------------------------