xsl-list
[Top] [All Lists]

RE: Recognized Unicode characters?

2005-05-06 01:39:36

I am having a problem getting my XSLT transformation to read 
the correct 
Unicode reference for an em-dash ( — ). I get that 
little square box 
in place of the correct character in the output when I use 
instant Saxon, 
but when I let IE6 handle the transformation it works fine.

I take it that instant Saxon cannot read an em-dash?

Is there a reference of what characters it does read?

How do I display and em-dash correctly?

Isn't this a problem for portability between XSLT processors?

--Or am I just not doing something right?

Set your output encoding to ascii:

<xsl:output encoding="ascii"...

In doing this all characters outside of the ascii range will be written
out as references, rather than a multibyte character.

http://www.stylusstudio.com/xsllist/200408/post20520.html

cheers
andrew

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>