You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christoph Stocker <ch...@gmx.at> on 2002/06/04 09:56:43 UTC

change from UTF-8 to iso-8859-1

hi!

i use cocoon2.0.2 with weblogic6.0sp2 on win2000


i want to change the <META http-equiv="Content-Type" content="text/html;
charset=UTF-8">
tag to               <META http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">

i want to use ö,ü,ä and ß

thanks
greetings, chros


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: change from UTF-8 to iso-8859-1

Posted by Christoph Stocker <ch...@gmx.at>.
ok - now its working.

i didn't it right the first time.
now i changed in the <map:serializer>-tag
the encoding correctly and it is working.


thanks all
 mfg,
-------------------------------------------
 Christoph Stocker
 Pramergasse 29/14, 1090 Wien, Austria
 mobile  +43-699-1722 5506
 e-mail  chris.stocker@gmx.at
-------------------------------------------


-----Original Message-----
From: Christoph Stocker [mailto:chris.stocker@gmx.at] 
Sent: Dienstag, 04. Juni 2002 12:37
To: cocoon-users@xml.apache.org
Subject: RE: change from UTF-8 to iso-8859-1


hi!

thanks

but my main problem still is, if i click
on a submit-button, the ö,ä,ü or ß from
my form input-fields are
not send correct to my action.


what have i do, to change this.
to get what i have typed on the next page?


greetings, christop

-----Original Message-----
From: KOZLOV Roman [mailto:r-kozlov@opencascade.com] 
Sent: Dienstag, 04. Juni 2002 10:14
To: cocoon-users@xml.apache.org
Subject: Re: change from UTF-8 to iso-8859-1


Hi Christoph,

Set <encoding>ISO-8859-1</encoding> for serialiser in sitemap. By the
way, you can use such characters with UTF-8 also. It's just necessary to
store the XML document as Unicode.

Best regards
Roman

Christoph Stocker wrote:

> hi!
>
> i use cocoon2.0.2 with weblogic6.0sp2 on win2000
>
> i want to change the <META http-equiv="Content-Type"
> content="text/html; charset=UTF-8">
> tag to               <META http-equiv="Content-Type"
content="text/html;
> charset=iso-8859-1">
>
> i want to use ö,ü,ä and ß
>
> thanks
> greetings, chros
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: change from UTF-8 to iso-8859-1

Posted by Christoph Stocker <ch...@gmx.at>.
hi!

thanks

but my main problem still is, if i click
on a submit-button, the ö,ä,ü or ß from
my form input-fields are
not send correct to my action.


what have i do, to change this.
to get what i have typed on the next page?


greetings, christop

-----Original Message-----
From: KOZLOV Roman [mailto:r-kozlov@opencascade.com] 
Sent: Dienstag, 04. Juni 2002 10:14
To: cocoon-users@xml.apache.org
Subject: Re: change from UTF-8 to iso-8859-1


Hi Christoph,

Set <encoding>ISO-8859-1</encoding> for serialiser in sitemap. By the
way, you can use such characters with UTF-8 also. It's just necessary to
store the XML document as Unicode.

Best regards
Roman

Christoph Stocker wrote:

> hi!
>
> i use cocoon2.0.2 with weblogic6.0sp2 on win2000
>
> i want to change the <META http-equiv="Content-Type" 
> content="text/html; charset=UTF-8">
> tag to               <META http-equiv="Content-Type"
content="text/html;
> charset=iso-8859-1">
>
> i want to use ö,ü,ä and ß
>
> thanks
> greetings, chros
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: change from UTF-8 to iso-8859-1

Posted by KOZLOV Roman <r-...@opencascade.com>.
Hi Christoph,

Set <encoding>ISO-8859-1</encoding> for serialiser in sitemap.
By the way, you can use such characters with UTF-8 also. It's just necessary
to store the XML document as Unicode.

Best regards
Roman

Christoph Stocker wrote:

> hi!
>
> i use cocoon2.0.2 with weblogic6.0sp2 on win2000
>
> i want to change the <META http-equiv="Content-Type" content="text/html;
> charset=UTF-8">
> tag to               <META http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1">
>
> i want to use ö,ü,ä and ß
>
> thanks
> greetings, chros
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: change from UTF-8 to iso-8859-1

Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
On Tuesday 04 June 2002 09:56, Christoph Stocker wrote:
> i want to change the 
> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
> tag to               
> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

This comes from the HTMLSerializer, you have to reconfigure it to use the 
iso-8859-1 charset.

This can be done in the sitemap as follows:

<map:components>
. . .
  <map:serializers>
  . . .
    <map:serializer 
	name="html-8859"
            mime-type="text/html"
            src="org.apache.cocoon.serialization.HTMLSerializer"
            pool-max="32"
            pool-min="16"
            pool-grow="4"
    >
      <encoding>iso-8859-1</encoding>
    </map:serializer>
  </map:serializers>
  . . .
</map:components>

-- 
 Bertrand Delacrétaz (codeconsult.ch, jfor.org)

 buzzwords: XML, java, XSLT, cocoon, mentoring/teaching/coding.
 disclaimer: eternity is very long. mostly towards the end. get ready.






---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>