XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Annemaart ZweegersSubject: euro not displayed properly
Author: Annemaart Zweegers
Date: 15 Aug 2005 04:59 AM
I'm having some troubles correctly displaying the euro symbol in stylus studio. After inserting the euro in wysiwyg and that not working I added the code € in the xslt.

All is displayed correctly in stylus studio, but when I try to open the xml and xslt in word, instead of a euro sign I get this: €.

If I open a document I created from scratch in xslt, open it in stylus studio and save it from there, then open it in word the euro's are displayed correctly. If I use the save preview button then either way the euro's are not displayed (€ again).

Can someone tell me why this is? Is this a 'bug' in stylus studio, or am I forgetting something in the xslt?

Postnext
Ivan PedruzziSubject: euro not displayed properly
Author: Ivan Pedruzzi
Date: 16 Aug 2005 11:21 AM

Which character encoding are you using?

Ivan Pedruzzi
Stylus Studio Team

Postnext
Annemaart ZweegersSubject: euro not displayed properly
Author: Annemaart Zweegers
Date: 22 Aug 2005 02:42 AM
sorry, forgot to add that. I'm using UTF-8.

Postnext
Ivan PedruzziSubject: euro not displayed properly
Author: Ivan Pedruzzi
Date: 22 Aug 2005 03:43 PM

Could you post your XSLT + XML?

Are you trying to open the XML document with WinWord?

Which version of WinWord?


Ivan Pedruzzi
Stylus Studio Team

Postnext
Annemaart ZweegersSubject: euro not displayed properly
Author: Annemaart Zweegers
Date: 23 Aug 2005 02:48 AM
I've tried opening the file with both a browser (IE and Firefox) and by opening it in Word 2003. I've tried opening the xml in word and then adding the xslt to it and I've saved the preview in stylus and opened the resulting html file in word. Neither displayed the euro correctly.


Unknowneuro.xsl


Unknownpud10.XML

Posttop
Tony LavinioSubject: euro not displayed properly
Author: Tony Lavinio
Date: 23 Aug 2005 08:59 AM
Try changing the output encoding of your XSLT transformation from
UTF-8 to ISO-8859-1 or windows-1252. I've heard rumors that Word
sometimes ignores the encoding and uses the platform encoding
instead. And since the output is XML, the encoding will still preserve
any characters because the serializer will convert any that aren't
expressible into &#xxx; form.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.