cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Vindevogel <yves.vindevo...@implements.be>
Subject Re: AW: encoding and xsp
Date Fri, 07 Mar 2003 09:15:49 GMT
Judith is correct, you should put this encoding in the <serializer>,
but,
if you use <xsp> or whatever, put it also in the transformer and generator.

Second thing, since you are German, so in the Euro zone, you may consider the 
ISO-8859-15 encoding, which is the same as the -1 encoding, but includes the 
Euro character.

Third thing, I work with a Postgres database.  In my connection pool, I 
included the charset also in my JDBC connection string
jdbc:postgresql/......?charSet=ISO-8859-15


> Try specifying an encoding inside the serializer declaration in your
> sitemap:
 
>      <map:serializer ...>
>         <encoding>ISO-8859-1</encoding>
>       </map:serializer>
>  
> HTH Judith
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: boessem [mailto:philipp@boessem.de]
> Gesendet: Freitag, 7. März 2003 09:39
> An: Cocoon-Users
> Betreff: encoding and xsp
> 
> 
> hi,
>  
> i do not understand why the encoding works different for words i use wihtin
> the xsp document and words i get via the url.
 
> an example:
>  
> I have got a form, where students should be able to apply for a specific
> exame. wihtin this form (a xsp document) there are some explainations of
> how to use the form and what to fill in. characters within these sentences 
> like ä,ö,ü etc. are getting transformed into html perfectly. (so no
> trouble).
 
> but:
>  
> i have got text fields where students are able to fill in their names. so
> if a name uses characters like ä,ö,ü etc. these names are transformed
> inot funny characters like e.g. Bößem into Bößem . 
 
> i tried to solve this problem, by adding to the header of the xsp and xsl
> document the encoding sceme, like <?xml version="1.0"
> encoding="ISO-8859-1"?>, but still the same problem.
 
> does anyone know how to solve this problem.
>  
> thanks and regards
> 
> 

-- 
Met vriendelijke groeten,
Kind regards,
Bien à vous,

Yves Vindevogel

Implements
Kempische Steenweg 206  --  3500 Hasselt  --  Belgium
Phone/Fax: +32 (11) 43.55.76  --  Mobile: +32 (478) 80.82.91
Mail: yves.vindevogel@implements.be  --  www.implements.be

Quote: The winner never says participating is more important than winning.

---------------------------------------------------------------------
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