First, Are you using some database?

Some old tips (from my friend Barbara):

1-Ensure that every XML is starting with:

<?xml version="1.0" encoding="ISO-8859-1"?>


2-In the site map check for your serializer:

<map:serializer logger="sitemap.serializer.html" mime-type="text/html" 
name="html" pool-grow="4" pool-max="32" pool-min="4" 
src="org.apache.cocoon.serialization.HTMLSerializer">
      <doctype-public>-//W3C//DTD HTML 4.01//ES</doctype-public>
      <doctype-system>http://www.w3.org/TR/html4/strict.dtd</doctype-system>
      <buffer-size>1024</buffer-size>
      <encoding>ISO-8859-1</encoding>  <!-- West Europe -->
    </map:serializer>

(Please, see the encoding tag above)



3-If you are using xml serializer you can do that too:

<map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html" 
name="xhtml" pool-grow="2" pool-max="64" pool-min="2" 
src="org.apache.cocoon.serialization.XMLSerializer">
     <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
     
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
     <encoding>ISO-8859-1</encoding>
   </map:serializer>

(Please, see the encoding tag above)

4- If you are using some database check that it is working with the code you 
need, for example in PostgreSQL i created the databse using:

createdb -E LATIN1 -e my_database_name

I hope it will helps you.

Regards,

Antonio Gallardo

El Miércoles, 18 de Septiembre de 2002 04:13, Kenneth Roper escribió:
> Hi
>
> I'm trying to set up my cocoon application to handle strings with
> Umlauts in (e.g. "ÄäÖöÜüß").  I'm using Cocoon 2.0.2.
>
> Any string with an umlaut was being mangled between posting from the
> browser, and appearing in my variable in an action when I used the
> command:
>
> String mangled= myCocoonRequest.getParameter(name);
>
> The string I get from mangled is: "ÄäÖöÜüß", whereas it should
> be: "ÄäÖöÜüß".
>
> I've left all of cocoon's character encoding settings on the defaults.
> Does anyone know what I'm doing wrong?
>
> Thanks.
> Kenneth
>
>
>
> ---------------------------------------------------------------------
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>

---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to