cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Mangeng" <michael.mang...@ideefix.net>
Subject Re: Unicode-Problems
Date Tue, 18 Jun 2002 19:17:05 GMT
Hi

I´m not sure if you can set the encoding in the map:serialize tag. AFAIK you
have to set it in the map:serializeR tag.

example:
<map:components>
...
<map:serializers>
...
    <map:serializer type="html"...
        <encoding>ISO-8859-1</encoding>
    </map:serializer>
..
</map:serializers>
...
</map:components>

If his doesn´t work either, add the encoding tag to the xslt transformer tag
in <map:transformers> as well.

hope i could help.

greetings
mike

----- Original Message -----
From: "Torsten Reiners" <t.reiners@tu-bs.de>
To: <cocoon-users@xml.apache.org>
Cc: <d.reiss@tu-bs.de>
Sent: Tuesday, June 18, 2002 5:44 PM
Subject: Unicode-Problems


> Hi,
>
> we are using Cocoon 2.0.2.  Using the following entry in the sitemap
>
>    <map:match pattern="winfo/">
>      <map:generate src="/home/vorms/website/mathml/math_test.xml"/>
>      <map:transform src="/home/vorms/website/mathml/page2html.xsl"/>
>      <map:serialize>
>          <encoding>ISO-8859-1</encoding>
>     </map:serialize>
>     </map:match>
>
> we want transform a XML-file to HTML BUT keeping the unicodes. Currently,
> the serializer (to our understanding) transforms, e.g., &#8721; into &sum;
> which
> is something we do not want. Is there any way to tell cocoon to keep the
> unicode characters??
>
> Sincerely
> Torsten
>
> --
>
>                          __  __
>                         _ OO\| O__
>                          O\__/O / O
>             /////        O O\ /
>             O O              |
> -----.oOOo------oOOo.---------------------------------
> Torsten Reiners           Tel:++49-531-3913214
> t.reiners@tu-bs.de        Fax:++49-531-3918144
> http://server3.winforms.phil.tu-bs.de/~treiners
>
> TU Braunschweig
> Abteilung Allgemeine Betriebswirtschaftslehre,
>   Wirtschaftsinformatik und Informationsmanagement
> Abt-Jerusalem-Str.7
> 38106 Braunschweig, Germany
>
> Other EMails:  treiners@ucdavis.edu
>                      torsten.reiners@epost.de
> ------------------------------------------------------
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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/faq/index.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