xsl-list
[Top] [All Lists]

Re: [xsl] Trouble transforming special characters

2010-08-10 10:50:17
On 10 August 2010 16:36, Craig Whisenhunt <craig(_at_)inlumino(_dot_)com> wrote:
Hello,

I am transforming XML to HTML. The XML source has:

Pe&ntilde;a

which should transform and display as Peña.

Instead, the '&ntilde;' gets transformed into a '?'.

Same problem with mdash

Somewhere in the chain you have an encoding issue... the simplest way
to work around that is to use:

<xsl:output encoding="US-ASCII"/>

...which means your result will only consist of ascii characters,
which are the same across the usual suspects.


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

--~------------------------------------------------------------------
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>
--~--