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 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Peter CiuffettiSubject: non-Latin Unicode chars become ? in Save As
Author: Peter Ciuffetti
Date: 29 Dec 2000 11:01 AM

I have an XML document with some non-latin Unicode characters. I've been using Microsoft's Arial Unicode MS font in IE and other XML apps to display non-latin characters that are not included in the normal Arial font.

My Stylus transformations output these characters properly. They display correctly in the IE preview and browser preview part only if the output method is HTML because I have overridden the default font in IE to Arial Unicode MS.

The fact that these characters display as a box is not a big problem. It would be a nice feature if Stylus allowed the display font to be set in Tools/Options.

More important however, when I try to save the stylesheet output using File->Save Stylesheet Output As..., it appears non-latin characters are getting converted to question mark.

It turns out that the characters are correctly encoded in the temporary file generated by Stylus used for viewing stylesheet output. My work-around has been to copy and rename the temp file before closing Stylus.

I've tried various settings for encoding in both the XML document, the XSLT document and with the xsl:output instruction, but none of these setting seem to influence this behavior.

I am using Stylus 2.0.20. I've attached two files, the output created by save stylesheet output as and the output copied from the Stylus temp file.

DocumentSave Output As.XML
Saved Styledsheet output

Stylus temp file

(Deleted User) Subject: non-Latin Unicode chars become ? in Save As
Author: (Deleted User)
Date: 16 Feb 2001 04:03 PM
These problems are fixed in Stylus Studio 3.0, the successor to Stylus 2.0. If you're interested in early testing, the first beta is should be released within the next week. An announcement will be posted on EDN.

Alex Lloyd
eXcelon corp.

Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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!  

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.