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: [EMAIL PROTECTED] 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 ------------------------------------------------------------------
smime.p7s
Description: S/MIME Cryptographic Signature
