hi,
thanks
for your hints. i tried it, but it still does not work. i was not sure, if you
mean to specifiy it within the <map:components>, or <map:pipelines>
i did it in both. i also specified it within in the jdbc connection. but no
success.
Is it
necessary to specify main sitemap, or is it also possible to put it into the
sub-sitemap?
here
is how i added it:
<map:components>
<map:generators default="file">
<encoding>ISO-8859-1</encoding>
</map:generators>
</map:components> .... i did the same for the serializer and transformer.
<map:generators default="file">
<encoding>ISO-8859-1</encoding>
</map:generators>
</map:components> .... i did the same for the serializer and transformer.
and
...
<map:match
pattern="**.html">
<map:generate type="serverpages" src="">
<encoding>ISO-8859-1</encoding>
</map:generate>
<map:transform src="">
<encoding>ISO-8859-1</encoding>
</map:transform>
<map:serialize>
<encoding>ISO-8859-1</encoding>
</map:serialize>
</map:match>
<map:generate type="serverpages" src="">
<encoding>ISO-8859-1</encoding>
</map:generate>
<map:transform src="">
<encoding>ISO-8859-1</encoding>
</map:transform>
<map:serialize>
<encoding>ISO-8859-1</encoding>
</map:serialize>
</map:match>
if i
read through the outputtet html, there is still a tag like:
<META http-equiv="Content-Type" content="text/html;
charset=UTF-8">
-----Ursprüngliche Nachricht-----
Von: Andres, Judith [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. März 2003 09:42
An: [EMAIL PROTECTED]
Betreff: AW: encoding and xspTry 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:[EMAIL PROTECTED]
Gesendet: Freitag, 7. März 2003 09:39
An: Cocoon-Users
Betreff: encoding and xsphi,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