[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: euro symbol problem on unix
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: "ac;"). > > I am using € 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|