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

RE: euro symbol problem on unix

Subject: RE: euro symbol problem on unix
From: julie.f.mccabe@xxxxxxxxxxxx
Date: Thu, 21 Mar 2002 14:16:49 +0000
unix filewriter





julian.reschke@xxxxxx@l... on 03/21/2002 09:00:06 AM

Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx

Sent by:    owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx


To:    xsl-list@xxxxxxxxxxxxxxxxxxxxxx
cc:
Subject:    RE:  euro symbol problem on unix


> > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> > julie.f.mccabe@xxxxxxxxxxxx
> > Sent: Thursday, March 21, 2002 1:06 PM
> > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> > Subject:  euro symbol problem on unix
> >
> >
> > Hello
> >
> > Problem
> >
> > Xml file created using DOM (xerces 1.4.1) displays the euro sign
> > correctly,
> > after an xslt to xml using jdk1.3.0.2 the euro symbol is displayed as
?.
> > When I run the same test on a PC the euro symbol is displayed in both
> > cases.
> >
> > There is a patch which should be applied on unix to display the euro
> > symbol, this has been installed.  UTF-8 encoding is specificed in both
> the
> > xml file and the xslt stylesheet, plus version 1.0 in the
> <xsl:stylesheet>
> > tag.  Any ideas?
>
> Which character *are* you using. If it displays "correctly" on PCs, but
> doesn't on Unix you might have used the wrong Unicode character (the
> correct
> one is: "&#20ac;").
>
> I am using &#8364;

The code is correct.

Then you probably have a problem in how the transformation result is
written
to a byte stream.

It is written out as
String filename = ...
String fileContent = (contains result of transformation)
BufferedWriter writer = new BufferedWriter(new FileWriter(filename));
writer.write(fileContent);


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





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


 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.