[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: UTF-8, RTF and XSLT

Subject: Re: UTF-8, RTF and XSLT
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 07 Nov 2002 22:02:01 +0100
rtf utf 8
Russell Kohn wrote:

I'm generating RTF (rich text) output using a UTF-8 XML source. For high-ascii values, my XML source is double-byte and does not play well within a pure RTF enviornment, and instead renders as arbitrary low-order ascii. I do not have control over the XML source. I can certainly play with the XSLT to try to translate the characters or to add appropriate new RTF controls to convert the double-byte ascii into something else.

Your output file is most probably encoded in UTF-8 too. This has nothing to do with the encoding of the XML source file, it is just the default. Declare the output encoding you want to use and the output method (it should be text, rather than the default XML): <xsl:output method="text" encoding="ISO-8859-9"/>

J.Pietschmann


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.