cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Nuetzel - inglobo" <peter.nuet...@inglobo.de>
Subject Re: [C2] Don't know how to use character encoding ?! Please HELP
Date Mon, 27 Aug 2001 08:35:20 GMT
add a parameter to the HTML or XML serializer definition in your sitemap to
specify encoding:

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

- peter


-----Ursprüngliche Nachricht-----
Von: Samuel ARNOD-PRIN <sarnodprin@smile.ch>
An: cocoon-users@xml.apache.org <cocoon-users@xml.apache.org>
Datum: Sonntag, 26. August 2001 19:53
Betreff: [C2] Don't know how to use character encoding ?! Please HELP


>Hello,
>
>I've got a big problem I have to handle files with french and german
>special characters.
>
>With Xerces, I successfully asked to use java encoding and put this
><?xml version="1.0" encoding="Cp1252"?>
>but with cocoon, I don't know what to put. If I use the default utf-8, I
>can't write éà and others
>
>thanx for telling to me how to do
>
>---------------------------------------------------------------------
>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