This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: foreign characters in params passed to stylesheet
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 6 May 2002 11:03:27 -0400
- Subject: Re: [xsl] foreign characters in params passed to stylesheet
- References: <075401c1f507$f9cb21e0$615ed7d9@lindsay>
- Reply-to: xsl-list at lists dot mulberrytech dot com
If you are getting character references in the output, most likely the
output is being encoded with an encoded that does not support those
characters. So you should look at changing the output encoding first.
Cheers,
Tom P
[Mattias Konradsson]
I have a problem, when passing parameters to a stylesheet using Sablotron
running on Apache it seems to translate all foreign characters to
entityreferences, passing "mattiaså" by doing something
liken this:
$xslt_params["test"] = "mattiaså";
$result = xslt_process($xh, $xmlUrl, $xslUrl,null,null,$xslt_params);
writes out as "mattias�" from the stylesheet <xsl:value-of
select="$test"/>
Anyone know what to do about this? Any help greatly appreciated
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list