xsl-list
[Top] [All Lists]

Re: [xsl] Trouble transforming special characters

2010-08-10 11:54:19
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(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> wrote:
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>
--~--



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