Re: [xsl] Trouble transforming special characters

Subject: Re: [xsl] Trouble transforming special characters
From: Craig Whisenhunt <craig@xxxxxxxxxxxx>
Date: Tue, 10 Aug 2010 11:53:46 -0500
Thanks, Andrew! That is working and IE is interpreting the characters
correctly.

Thanks for everyone's reply. Big weight off my shoulders.

-Craig

On Tue, Aug 10, 2010 at 10:50 AM, Andrew Welch <andrew.j.welch@xxxxxxxxx>
wrote:
> On 10 August 2010 16:36, Craig Whisenhunt <craig@xxxxxxxxxxxx> wrote:
>> Hello,
>>
>> I am transforming XML to HTML. The XML source has:
>>
>> Pe&ntilde;a
>>
>> which should transform and display as Peqa.
>>
>> 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/

Current Thread