[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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
------------------------------------------------------------------
S/MIME Cryptographic Signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]