Jens Lorenz wrote:
> Setting the encoding of the generated HTML pages does not help. The URL
> send back by the Browser is always UTF-8 encoded.
> 
> Request.setCharacterEncoding(), as suggested by Vadim, usually helps for
> GET-Parameters.
> 
> Generally it's a good idea to avoid "unsafe" (see RFC) characters in URLs
> and GET-Parameters.

There is no mention of URLs in the original problem description:

 >> Any string with an umlaut was being mangled between posting from the
 >> browser, and appearing in my variable in an action when I used the
 >> command:
 >>
 >> String mangled= myCocoonRequest.getParameter(name);

I assumed that the strings where POSTed from a form. Setting the 
encoding of the HTML page containing the form helped me in a similar 
situation.

        Ugo


-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to