I have the one with the 11-Jan-2002 date from the
http://xml.apache.org/cocoon/dist/.

I got the new JSPEngine.java and JSPEngineImpl.java and JspGenerator.java
from Code Repository.

Now my characters get encoded like this: šðèæž
this is the source from my jsp page as seen in the browser.

The actual encoding to a diffrent encoding does not happen I guess.

I tried a xsp page with my utf-8 chars in, but with the same result
(šðèæž).

I guess now I have to solve how cocoon or maybe tomcat encodes characters.

If somebody found it out for XSP let my know, please!

Any ideas?

Thanks

Gasper

----- Original Message -----
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 1:33 AM
Subject: RE: Cocoon2 and non-English characters in jsp


> What Cocoon version do you have? Only Cocoon post-2.0 release from CVS
> have correct handling of JSP encoding.
>
> (See
> http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/changes.xml?rev=1.75&conte
> nt-type=text/vnd.viewcvs-markup, first mention of JSPEngine)
>
> Vadim
>
> > -----Original Message-----
> > From: Gasper [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 23, 2002 7:16 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Cocoon2 and non-English characters in jsp
> >
> > 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]>
>
>
> ---------------------------------------------------------------------
> 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