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

Re: XML to RTF - display of Unicode

Subject: Re: XML to RTF - display of Unicode
From: Els van Trigt <evtrigt@xxxxxxxxx>
Date: Tue, 03 Jun 2003 16:27:05 +0200
rtf display
My XSL stylesheet converts from XML to RTF. Works fine. However, if opened
in Word, it does not display the foreign (Arabic) symbols. Instead, I RTF
uses see the Uniode code (mapped to the XML by DTD).


Example:
XML: &aeidasheiquot; DTD:"&#x1EB3;" (hexadecimal) mapped in RTF to:
&#7859;(decimal)

In my XSL I put the ISO-8859-1 encoding:
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes"
omit-xml-declaration="yes"/>

I've tried a different encoding (ISO-8859-6) but this does not work either
and, moreover I then lose the display of the Latin symbols (eacute, etc.). I
guess the problem is in setting the encodings, or Windows code page number
or something similar.
I need some code in my XSL that makes all of the different encodings
(latin, Arabic, Hebrew, etc.) display properly when the RTF is opened in
Word. I am using the Arial Unicode MS font.

Who has the answer?

Els van Trigt

Ambrac Information Management
Pieterstraat 11
3512 JT Utrecht
Telefoon: 030-2316942


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003



 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.