You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Kolk, Jürgen" <Ju...@wlw.de> on 2000/07/14 15:01:15 UTC
Using different encodings with Cocoon 1.7.4
As we have a multilingual site with pages using
different encodings (both Latin 1 and Latin 2)
we are faced with the problem how to switch
between these encodings on the fly.
We solved the problem to either display
Latin 1 or Latin 2 characters by setting the options
processor.xsp.encoding
formatter.text/html.MIME-type
formatter.text/html.encoding
in cocoon.properties (of Cocoon 1.7.4).
But how are we able to switch between the
encodings 8859_1 and 8859_2?
Thanx a lot in advance!
Jürgen Kolk
-- Wer liefert was? GmbH --
Normannenweg 16-20, D-20537 Hamburg
Fon: +49- (0)40- 25 44 0 - 280
Mobil: 0172 - 780 72 79
Email: kolk@wlw.de
Re: Using different encodings with Cocoon 1.7.4
Posted by Mac Schwarz <mc...@phil.uni-erlangen.de>.
"Kolk, Jürgen" wrote:
>
> As we have a multilingual site with pages using
> different encodings (both Latin 1 and Latin 2)
> we are faced with the problem how to switch
> between these encodings on the fly.
>
> We solved the problem to either display
> Latin 1 or Latin 2 characters by setting the options
>
> processor.xsp.encoding
> formatter.text/html.MIME-type
> formatter.text/html.encoding
>
> in cocoon.properties (of Cocoon 1.7.4).
>
> But how are we able to switch between the
> encodings 8859_1 and 8859_2?
>
> Thanx a lot in advance!
>
> Jürgen Kolk
Hi,
do you need to switch within a file or per page? I use the line
<?xml version="1.0" encoding="ISO-8859-1"?>
at top of my XML files to specify the encoding.
mac
--
Mac Schwarz / AERIA Projekt / Inst. f. Klassische Archaeologie
e-mail: mac@aeria.phil.uni-erlangen.de / Tel.: 09131-85-24791
FAU Erlangen-Nuernberg / Kochstr.4 / 91054 Erlangen
<http://www.phil.uni-erlangen.de/~p1altar/aeriahome.html>