[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: Russell Kohn <russ@xxxxxxxxxxxx>
Date: Thu, 7 Nov 2002 14:49:17 -0800
rtf utf 8
At 10:02 PM +0100 11/7/02, J.Pietschmann suggested:
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"/>

Jason,


Thanks. I've already tried several ISO-8859-x and other variants of the encoding attribute of the xsl:output method without success. The resulting text still contains a two-character representation for the high-ascii value that is not being read properly by a RTF reader. I've also been experimenting with variations on the ansicpgx tag in the rtf header and well as wading through the rtf specs trying to see if there are other ways to handle this, but so far no luck.

- Russ



Russell Kohn , Chaparral Software & Consulting Services Inc.
Calabasas, California -  http://www.chapsoft.com - 818.225.1247

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.