The encoding for a jsp is done like this:
<%@page contentType="text/html; charset=iso-8859-2"%>
But this does not help.

<?xml version="1.0" encoding="iso-8859-2"?>
On top of my jsp doesn't help either.

I've also tried the following in my sitemap.xmap but with no success.
   <map:serializer name="html"   mime-type="text/html"
src="org.apache.cocoon.serialization.HTMLSerializer">
     <encoding>iso-8859-2</encoding>
   </map:serializer>

Any other ideas?

Thanks very much.

Gasper


----- Original Message -----
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 23, 2002 9:36 PM
Subject: RE: Cocoon2 and non-English characters in jsp


> > From: Gasper [mailto:[EMAIL PROTECTED]]
> >
> > Hello
> >
> > If I use non-English characters in my jsp's, they appear in the
> browser as
> > question marks.
> >
> > How can I specify the encoding for my page served by cocoon2?
>
> First you have to define encoding in your JSP source file. Look into JSP
> spec for a way to do this (I don't remember)
>
> Vadim
>
>
>
> ---------------------------------------------------------------------
> 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: <[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/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to