You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ph...@empolis.com on 2004/11/01 12:34:56 UTC

Other URL encoding issue...

I spoke to soon :-(

This works OK if your requests go directly to the Servlet container
(Tomcat) but when I go via Apache and mod_jk the problem comes back
again. I must therefore assume that there is some request encoding
configuration of Apache required.

Can anyone give me a prod in the right direction?


Regards

Phil Fennell


-----Original Message-----
From: Philip.Fennell@empolis.com [mailto:Philip.Fennell@empolis.com] 
Sent: 01 November 2004 11:20
To: users@cocoon.apache.org
Subject: RE: Encoding problems, still!

I have just recently resolved a problem with fragment identifiers in
URLs for pages that are served-up by Cocoon in UTF-8 to IE 6 on the PC.

My sitemap was set-up to deliver XHTML in UTF-8 and IE understood this.
However, if I sent a request that had a fragment identifier on the end:

http://myserver/document/path/document.html#SL12345

IE ignored #SL12345 and did not scroll the page to the single instance
of the specified id in the target document.

But, when I followed the instructions in:

http://wiki.apache.org/cocoon/RequestParameterEncoding

regarding explicitly setting the Servlet container-encoding in Cocoon's
web.xml it all worked happily :)

I just thought people should know this.

Should I add it to the afore mentioned wiki?


Regards

Phil Fennell


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Other URL encoding issue...

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi:

Try to use UTF-8 every where:

in the xml files, in the web.xml and in the http.conf file.

Best Regards,

Antonio Gallardo

Philip.Fennell@empolis.com dijo:
> I spoke to soon :-(
>
> This works OK if your requests go directly to the Servlet container
> (Tomcat) but when I go via Apache and mod_jk the problem comes back
> again. I must therefore assume that there is some request encoding
> configuration of Apache required.
>
> Can anyone give me a prod in the right direction?
>
>
> Regards
>
> Phil Fennell
>
>
> -----Original Message-----
> From: Philip.Fennell@empolis.com [mailto:Philip.Fennell@empolis.com]
> Sent: 01 November 2004 11:20
> To: users@cocoon.apache.org
> Subject: RE: Encoding problems, still!
>
> I have just recently resolved a problem with fragment identifiers in
> URLs for pages that are served-up by Cocoon in UTF-8 to IE 6 on the PC.
>
> My sitemap was set-up to deliver XHTML in UTF-8 and IE understood this.
> However, if I sent a request that had a fragment identifier on the end:
>
> http://myserver/document/path/document.html#SL12345
>
> IE ignored #SL12345 and did not scroll the page to the single instance
> of the specified id in the target document.
>
> But, when I followed the instructions in:
>
> http://wiki.apache.org/cocoon/RequestParameterEncoding
>
> regarding explicitly setting the Servlet container-encoding in Cocoon's
> web.xml it all worked happily :)
>
> I just thought people should know this.
>
> Should I add it to the afore mentioned wiki?
>
>
> Regards
>
> Phil Fennell
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org