This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: foreign characters in params passed to stylesheet


I wrote -


> [Mattias Konradsson]
>
> > > 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
> >
> > Yah, the problem is that output encoding is set for the stylesheet
through
> >   <xsl:output method="html" encoding="8859-1" indent="yes"
> > omit-xml-declaration="yes"/>
> >
> > but sablotron doesn't seem to apply this to the params :(
> >
>
> I seem to remember finding that out a while ago.  Better switch to
Saxon...
>

I decided to try it instead of relying on memory, and my copy of Sablotron
0.70 does understand iso-8859-1 after all.  I notice that you typed "8859-1"
instead of "iso-8859-1".  If that's really in the stylesheet, that's
probably the problem.

Tom P


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]