cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <l.mo...@tin.it>
Subject RE: XSLT and international characters.
Date Tue, 04 Dec 2001 20:38:49 GMT
Marcin,

you may try setting the enconding of the HTML serializer in your sitemp to
the one that fits you (in the example below I used, quite understandably, an
Italian enconding):

<map:serializer name="html"   mime-type="text/html"
	src="org.apache.cocoon.serialization.HTMLSerializer">
	<encoding>iso-8859-1</encoding>
</map:serializer>

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Marcin Kłos [mailto:quosoo@3w.com.pl]
> Sent: Tuesday, December 04, 2001 12:33 PM
> To: cocoon-users@xml.apache.org
> Subject: XSLT and international characters.
>
>
> Hi!
>
> For serveral days I'm trying to solve the following problem. I'm
> sure that
> somebody has already faced it, but I could not find any answer on the net.
>
> I use Cocoon 2 for XSLT transformations (Tomcat 4.0.1 glued to
> Apache using
> mod_webapp). These are very simple transformations producing HTML
> output. I
> pass some parameters in the QUERY STRING to the XSL. Those
> parameters contain
> international (polish) characters, somewhere during the
> transformation those
> charcters are converted into some rubbish. For example polish character
> %C5%82 is transformed into &Aring;&#130; i.e., each byte of the two-byte
> value is treated separetely.
>
> How to overcome this problem?
>
> --
> Pozdrawiam
> Marcin 'Quosoo' Kłos
>
> ----------------------------------------------------------------
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message