Subject: Re: Trouble transforming special characters
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 10 Aug 2010 16:50:04 +0100
|
On 10 August 2010 16:36, Craig Whisenhunt <craig@xxxxxxxxxxxx> wrote:
> Hello,
>
> I am transforming XML to HTML. The XML source has:
>
> Peña
>
> which should transform and display as Peqa.
>
> Instead, the 'ñ' 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/
|