Subject: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.
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.