RE: [xsl] Recognized Unicode characters?

Subject: RE: [xsl] Recognized Unicode characters?
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Fri, 6 May 2005 09:39:36 +0100
> I am having a problem getting my XSLT transformation to read
> the correct
> Unicode reference for an em-dash ( &#8212; ). 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

Current Thread